# LION Wikidata Firmographics JSON

> LION Wikidata Firmographics JSON is a paid API for AI agents from lion-x402.lionmaster-operations.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns structured firmographic data (country, industry, employees, legal form, stock exchange, etc.) for an organization by resolving it against Wikidata, payable per-call via x402 in USDC with no API key required.

## Facts

- Endpoint: GET https://lion-x402.lionmaster-operations.workers.dev/api/x402/wikidata-firmographics-json
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lion-wikidata-firmographics-json-616734b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CqDb4K-PlMhEiJD66FOYU

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 lion-wikidata-firmographics-json-616734b7
```

Example prompt: Can you pull up the firmographic profile for Coinbase — I want to know their industry, founding year, employee count, stock exchange listing, and country, sourced from Wikidata?

## When to prefer this

Use this endpoint when you need structured, machine-readable firmographic data about a known organization and want to avoid API key management overhead. Ideal for agent workflows that enrich company profiles, validate business identities, or need founding/industry/employee facts sourced from the open Wikidata knowledge graph. Prefer over scrapers or proprietary business data APIs when open-source provenance and no-signup pay-per-call access matter.

## Known failure modes

- Company name is ambiguous or not found in Wikidata — resolved:false returned with lower confidence
- Entity exists in Wikidata but has incomplete firmographic fields — partial data returned with confidence below 1.0
- Payment fails or is insufficient via x402 — HTTP 402 returned before data is served
- Rate limiting or worker unavailability — HTTP 5xx error

## How this service works

Keyless off-chain and on-chain data for AI agents. No API key, no signup - payment is the only gate. Pay-per-call in USDC on Base via x402.

## Output

A JSON object containing the resolved Wikidata QID and entity name, firmographic fields (country, website, industry array, employee count with as-of date, legal form, parent org, inception year, stock exchanges), a confidence score, an asset ID, and a timestamp indicating when the data was last resolved.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string"
      },
      "qid": {
       "type": "string"
      },
      "entity": {
       "type": "string"
      }
     }
    }
   },
   "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-06-03T00:00:00.000Z",
  "entity": {
   "qid": "Q5463952",
   "name": "Coinbase",
   "description": "American cryptocurrency exchange company"
  },
  "asset_id": "LION_WIKIDATA_FIRMO_001",
  "resolved": true,
  "confidence": 0.9,
  "firmographics": {
   "country": "United States of America",
   "website": "https://www.coinbase.com/",
   "industry": [
    "cryptocurrency exchange",
    "financial technology"
   ],
   "employees": {
    "as_of": "2023",
    "count": 4948
   },
   "legal_form": "public company",
   "parent_org": null,
   "inception_year": 2012,
   "stock_exchanges": [
    "Nasdaq"
   ]
  },
  "is_organization": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lion-wikidata-firmographics-json-616734b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lion-x402.lionmaster-operations.workers.dev](https://www.zero.xyz/host/lion-x402.lionmaster-operations.workers.dev/llms.txt)
