# ScrapeMole Wiki: Wikidata Entity Facts Lookup

> ScrapeMole Wiki: Wikidata Entity Facts Lookup is a paid API for AI agents from wiki.scrapemole.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Fetches structured Wikidata facts (ticker, country, inception, headquarters, stock exchange, website, etc.) for a named organization, place, product, or concept, with CC0 attribution included.

## Facts

- Endpoint: GET https://wiki.scrapemole.workers.dev/v1/entity?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapemole-wiki-wikidata-entity-facts-lookup-ba83c728
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ecNh2CC8detccrZl84c95

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 scrapemole-wiki-wikidata-entity-facts-lookup-ba83c728
```

Example prompt: Can you look up structured Wikidata facts for Cloudflare — I need its headquarters, stock ticker, founding date, and official website?

## When to prefer this

Choose this endpoint when you need structured, machine-readable facts about a known non-personal entity (company, city, product, concept) and want Wikidata's authoritative properties (ticker, headquarters, founding date, official website) rather than a prose summary. It is especially useful for data enrichment pipelines, CRM augmentation, and financial research where individual facts with labeled IDs matter. Prefer this over the Wikipedia summary endpoint when you need discrete structured fields rather than a narrative description.

## Known failure modes

- Query matches a person — refused and not charged (non-personal data policy)
- Entity not found in Wikidata — returns 404 or empty result
- Ambiguous name resolves to wrong entity — caller should use Wikidata Q-ID (id param) for precision
- Payment not verified — 402 response before work is done
- Invalid Wikidata Q-ID format — query param validation error
- Requested language label not available — falls back to English or returns unlabeled ID

## How this service works

Pay-per-call encyclopedic knowledge for agents: Wikipedia article summaries and full-text search in any language edition, and structured Wikidata facts (organizations, places, products, concepts) with labels resolved. Every response carries the license and credit (Wikipedia CC BY-SA 4.0, Wikidata CC0). Non-personal data only: articles and entities about individual people are refused and not charged. USDC via x402, no accounts.

Payments: x402 v2, scheme "exact", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://wiki.scrapemole.workers.dev/terms

## Output

A JSON object containing the Wikidata entity ID, a human-readable label, a short description, structured facts (ticker symbol, country with Q-ID and label, inception date, instanceOf categories, headquarters, stock exchange, official website), a link to the full Wikidata page, a link to the Wikipedia article, and CC0 attribution metadata.

## 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",
     "required": [],
     "properties": {
      "q": {
       "type": "string",
       "examples": [
        "Cloudflare"
       ],
       "description": "Name to look up, e.g. \"Cloudflare\" or \"Vilnius\". Give id or q."
      },
      "id": {
       "type": "string",
       "description": "Wikidata item ID, e.g. Q95 (Google). Give id or q."
      },
      "lang": {
       "type": "string",
       "default": "en",
       "description": "Label language."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "Q4778915",
  "url": "https://www.wikidata.org/wiki/Q4778915",
  "facts": {
   "ticker": "NET",
   "country": {
    "id": "Q30",
    "label": "United States"
   },
   "inception": "2009-07-01",
   "instanceOf": [
    {
     "id": "Q4830453",
     "label": "business"
    },
    {
     "id": "Q72588",
     "label": "content delivery network"
    }
   ],
   "headquarters": {
    "id": "Q62",
    "label": "San Francisco"
   },
   "stockExchange": {
    "id": "Q13677",
    "label": "New York Stock Exchange"
   },
   "officialWebsite": "https://www.cloudflare.com/"
  },
  "label": "Cloudflare",
  "wikipedia": "https://en.wikipedia.org/wiki/Cloudflare",
  "attribution": {
   "credit": "Wikidata contributors",
   "license": "CC0 1.0 (Wikidata)"
  },
  "description": "American technology company"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapemole-wiki-wikidata-entity-facts-lookup-ba83c728/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wiki.scrapemole.workers.dev](https://www.zero.xyz/host/wiki.scrapemole.workers.dev/llms.txt)
