# AnswerPool Company Peers

> AnswerPool Company Peers is a paid API for AI agents from answerpool.io, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns the most similar public companies to a given ticker or CIK, ranked by financial similarity using SEC XBRL data including assets, revenue, margins, and distance scores.

## Facts

- Endpoint: GET https://answerpool.io/v1/peers/similar
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/answerpool-company-peers-d6eb4b63
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kFJ3ekr8HSNsEsQzpq-Cu

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 answerpool-company-peers-d6eb4b63
```

Example prompt: Give me the top 10 closest public company peers to NVDA based on industry, assets, and revenue from SEC filings.

## When to prefer this

Use this endpoint when you need a ranked, financially-grounded peer set for a public company without loading or querying the SEC XBRL corpus yourself. It is ideal for valuation comp tables, competitive benchmarking, and regulatory or investment analysis where industry-adjusted financial similarity (assets, revenue, margins) matters more than qualitative categorization. Prefer it over manual SIC lookups or generic screeners when you need distance-scored similarity with underlying financials in one call.

## Known failure modes

- Invalid or unrecognized ticker returns an error or empty result
- CIK not found in SEC XBRL corpus returns no data
- Both ticker and CIK omitted causes a validation error
- Company has insufficient XBRL financial data for similarity ranking
- Limit parameter out of range (below 1 or above 50) causes a validation error
- Payment not completed results in 402 response blocking the call

## How this service works

AnswerPool turns SEC EDGAR, the Federal Register, USAspending, NIH, BLS and OpenAlex into structured JSON answers that AI agents and developers fetch in one call. 69 endpoints free, no account; derived analyses $0.02–$0.05 per call by card credits or USDC (x402). MCP server, full provenance.

## Output

Returns a structured response containing the target company's profile (CIK, ticker, name, SIC code, assets, revenue, margin) and an ordered list of peer companies ranked by financial similarity. Each peer row includes CIK, ticker, company name, assets in USD, revenue in USD, net income in USD, profit margin, log-scale distance score, and similarity score. Also includes metadata like the frame year used, number of candidates in the industry, and the as-of date of the data.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "title": "PeersIn",
     "properties": {
      "cik": {
       "anyOf": [
        {
         "type": "string",
         "pattern": "^\\d{1,10}$",
         "maxLength": 10
        },
        {
         "type": "null"
        }
       ],
       "title": "Cik",
       "default": null,
       "description": "SEC CIK of the target company, 1-10 digits, zero padding optional (e.g. 320193). Provide exactly one of cik or ticker."
      },
      "limit": {
       "type": "integer",
       "title": "Limit",
       "default": 20,
       "maximum": 50,
       "minimum": 1,
       "description": "Maximum peer companies returned, ordered by similarity distance ascending (closest first). Default 20."
      },
      "ticker": {
       "anyOf": [
        {
         "type": "string",
         "maxLength": 12
        },
        {
         "type": "null"
        }
       ],
       "title": "Ticker",
       "default": null,
       "description": "US exchange ticker, case-insensitive (e.g. AAPL); resolved through the EDGAR ticker map, and an unknown ticker is an error. Provide exactly one of ticker or cik."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-09-02T21:00:00Z",
  "count": 1,
  "peers": [
   {
    "cik": "0001045810",
    "name": "NVIDIA CORP",
    "margin": 0.55,
    "ticker": "NVDA",
    "distance": 1.3072,
    "assets_usd": 111000000000,
    "similarity": 0.4334,
    "revenue_usd": 130000000000,
    "net_income_usd": 72000000000
   }
  ],
  "target": {
   "cik": "0000320193",
   "sic": "3571",
   "name": "Apple Inc.",
   "margin": 0.25,
   "ticker": "AAPL",
   "assets_usd": 365000000000,
   "revenue_usd": 400000000000,
   "sic_description": "Electronic Computers"
  },
  "frame_year": 2025,
  "candidates_in_industry": 42
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/answerpool-company-peers-d6eb4b63/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from answerpool.io](https://www.zero.xyz/host/answerpool.io/llms.txt)
