{
  "x402Version": 2,
  "id": 7776,
  "slug": "7776",
  "resource": "https://answerpool.io/v1/peers/similar",
  "description": "The most similar public companies to any ticker or CIK — same-industry candidates ranked by log-scale asset/revenue distance and margin from the full SEC XBRL corpus, each peer row carrying the numbers behind the ranking. One call replaces corpus loading and similarity modeling.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb3ba3Ca99F9742b32fC527CF62688C83b39AED8c",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "ticker": "AAPL"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "as_of": "2026-09-02T21:00:00Z",
            "candidates_in_industry": 42,
            "count": 1,
            "frame_year": 2025,
            "peers": [
              {
                "assets_usd": 111000000000,
                "cik": "0001045810",
                "distance": 1.3072,
                "margin": 0.55,
                "name": "NVIDIA CORP",
                "net_income_usd": 72000000000,
                "revenue_usd": 130000000000,
                "similarity": 0.4334,
                "ticker": "NVDA"
              }
            ],
            "target": {
              "assets_usd": 365000000000,
              "cik": "0000320193",
              "margin": 0.25,
              "name": "Apple Inc.",
              "revenue_usd": 400000000000,
              "sic": "3571",
              "sic_description": "Electronic Computers",
              "ticker": "AAPL"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "cik": {
                    "anyOf": [
                      {
                        "maxLength": 10,
                        "pattern": "^\\d{1,10}$",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Cik"
                  },
                  "limit": {
                    "default": 20,
                    "maximum": 50,
                    "minimum": 1,
                    "title": "Limit",
                    "type": "integer"
                  },
                  "ticker": {
                    "anyOf": [
                      {
                        "maxLength": 12,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Ticker"
                  }
                },
                "title": "PeersIn",
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "as_of": {
                    "title": "As Of",
                    "type": "string"
                  },
                  "candidates_in_industry": {
                    "title": "Candidates In Industry",
                    "type": "integer"
                  },
                  "count": {
                    "title": "Count",
                    "type": "integer"
                  },
                  "disclaimer": {
                    "default": "Similarity computed from public SEC XBRL facts and industry codes; a peer ranking is an analytical signal, not investment advice.",
                    "title": "Disclaimer",
                    "type": "string"
                  },
                  "frame_year": {
                    "title": "Frame Year",
                    "type": "integer"
                  },
                  "method_id": {
                    "default": "sec_peers_rules_v1",
                    "title": "Method Id",
                    "type": "string"
                  },
                  "peers": {
                    "items": {
                      "properties": {
                        "assets_usd": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "title": "Assets Usd"
                        },
                        "cik": {
                          "title": "Cik",
                          "type": "string"
                        },
                        "distance": {
                          "title": "Distance",
                          "type": "number"
                        },
                        "margin": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "title": "Margin"
                        },
                        "name": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "title": "Name"
                        },
                        "net_income_usd": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "title": "Net Income Usd"
                        },
                        "revenue_usd": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "title": "Revenue Usd"
                        },
                        "similarity": {
                          "title": "Similarity",
                          "type": "number"
                        },
                        "ticker": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "title": "Ticker"
                        }
                      },
                      "required": [
                        "cik",
                        "ticker",
                        "name",
                        "assets_usd",
                        "revenue_usd",
                        "net_income_usd",
                        "margin",
                        "distance",
                        "similarity"
                      ],
                      "title": "PeerRow",
                      "type": "object"
                    },
                    "title": "Peers",
                    "type": "array"
                  },
                  "target": {
                    "properties": {
                      "assets_usd": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "title": "Assets Usd"
                      },
                      "cik": {
                        "title": "Cik",
                        "type": "string"
                      },
                      "margin": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "title": "Margin"
                      },
                      "name": {
                        "title": "Name",
                        "type": "string"
                      },
                      "revenue_usd": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "title": "Revenue Usd"
                      },
                      "sic": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "title": "Sic"
                      },
                      "sic_description": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "title": "Sic Description"
                      },
                      "ticker": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "title": "Ticker"
                      }
                    },
                    "required": [
                      "cik",
                      "ticker",
                      "name",
                      "sic",
                      "sic_description",
                      "assets_usd",
                      "revenue_usd",
                      "margin"
                    ],
                    "title": "TargetBlock",
                    "type": "object"
                  }
                },
                "required": [
                  "as_of",
                  "target",
                  "frame_year",
                  "candidates_in_industry",
                  "count",
                  "peers"
                ],
                "title": "PeersOutput",
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "answerpool.io",
  "lastUpdated": "2026-09-02T22:27:44.919Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-02T22:27:44.65Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "answerpool.io",
    "manifest_name": "answerpool.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}