# AgentDiet B2B Account Firmographics Lookup

> AgentDiet B2B Account Firmographics Lookup is a paid API for AI agents from rag-diet.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Returns firmographic data (company profile attributes) for a given domain, with context compression metadata showing token savings.

## Facts

- Endpoint: GET https://rag-diet.agentdiet.dev/v1/b2b-account-firmographics?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-b2b-account-firmographics-lookup-721e6b0c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mSolCDJfcAVvoEc3OGhUC

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentdiet-b2b-account-firmographics-lookup-721e6b0c
```

Example prompt: Can you pull firmographic data for stripe.com — I need company size, industry, and any other business profile details you can get?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call B2B firmographic enrichment for a single domain via a micropayment (x402/USDC on Base) with no subscription required. Prefer it over traditional enrichment APIs when operating in agent-to-agent or agentic pipeline contexts that already handle x402 payment flows, or when token-efficient compressed responses matter for downstream context window management.

## Known failure modes

- Unknown or unrecognized domain returns empty data object with status ok but no firmographic fields
- Missing required domain query parameter returns validation error
- Payment failure via x402/USDC results in 402 Payment Required before data is returned
- Domain with no indexed firmographic data returns sparse or empty data payload
- Network timeout on lookup returns error response

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.

## Output

Returns a JSON object with firmographic data fields for the queried domain (company attributes such as industry, size, employee count, etc.), plus an roi_proof object containing a compression_ratio_pct indicating how much token reduction was achieved (e.g. 91.4%), and a status field confirming success.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "domain": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-b2b-account-firmographics-lookup-721e6b0c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rag-diet.agentdiet.dev](https://www.zero.xyz/host/rag-diet.agentdiet.dev/llms.txt)
