{"uid":"cap_eKBzsTE4STH4A7QDnA1Iu","slug":"wikipedia-wikidata-api-93829e90","name":"Wikipedia & Wikidata API","description":"Pay-per-call data and tools for AI agents, $0.002-0.01 per call in USDC via x402 (Base, Polygon or Solana), no account or API key; MAX tiers ($0.05-0.25) run deeper jobs. Agent toolkit: web search, search + read top pages, any page as clean markdown with a prompt-injection check, which-x402-API-to-call recommender, seller check. Data: Google Maps places with contacts, YouTube video data and transcripts, job listings (Indeed, LinkedIn, 13 boards), Google Ads Transparency, TikTok comments, Pinterest, Airbnb, Redfin, AliExpress, app stores, live sports, website and SEO checks, Shopify store tech stacks, and onchain token / address risk checks.","url":"https://agent-data.centorprat.workers.dev/tools/wikipedia-wikidata-api?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"entity":{"type":"string","description":"A single entity name (company, person, place, thing). Example: OpenAI"},"entities":{"type":"array","items":{"type":"string"},"maxItems":3,"description":"An array of names, e.g. [\"OpenAI\",\"Spain\",\"Bitcoin\"]. Billed per entity."},"language":{"type":"string","description":"Wikipedia language edition (ISO code). Default en."}}},"responseSchema":{"type":"json","example":{"items":[{"url":"https://en.wikipedia.org/wiki/OpenAI","facts":{"ceo":{"qid":"Q7407093","label":"Sam Altman"},"country":{"qid":"Q30","label":"United States"},"founder":{"qid":"Q7407093","label":"Sam Altman"},"industry":{"qid":"Q11660","label":"artificial intelligence"},"employees":{"value":4500},"inception":{"value":"2015-12-11"},"instanceOf":{"qid":"Q6881511","label":"enterprise"},"revenueUsd":{"value":44485},"headquarters":{"qid":"Q62","label":"San Francisco"},"officialWebsite":{"value":"https://openai.com/"}},"query":"OpenAI","title":"OpenAI","extract":"OpenAI is an American artificial intelligence (AI) public benefit corporation (PBC) headquartered in San Francisco, California, led by CEO Sam Altman. It develops \"frontier\" generative AI models, particularly its generative pre-trained transformer (GPT) series of large language models.","sources":["wikipedia.org","wikidata.org","wikimedia.org (pageviews)"],"hasFacts":true,"resolved":true,"thumbnail":"https://thumb.wikimedia.org/wikipedia/commons/thumb/a/a7/1515_Third_Street.jpg/330px-1515_Third_Street.jpg?utm_source=en.wikipedia.org&utm_campaign=api&utm_content=thumbnail","wikidataId":"Q21708200","coordinates":null,"description":"American artificial intelligence company","isDisambiguation":false,"monthlyPageviews":348151}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_smepvc3ky0lm3mV6yER9R","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Given up to 3 entity names (companies, people, places, things), returns a structured record per entity including Wikipedia summary, Wikidata ID, key facts, image, and 30-day pageviews.","exampleAgentPrompt":"Can you pull structured Wikipedia and Wikidata records for OpenAI, Anthropic, and Mistral — I need the summary, Wikidata ID, founding date, HQ, CEO, website, industry, and 30-day pageviews for each?","exampleUseCases":[{"title":"Company research enrichment pipeline","prompt":"I have a list of three companies — Stripe, Shopify, and Klarna — can you fetch their Wikipedia summaries, Wikidata IDs, founding dates, headquarters, CEOs, and 30-day pageviews so I can enrich my CRM records?"},{"title":"LLM grounding for a named entity","prompt":"Before I trust this AI-generated claim about Elon Musk, can you pull his structured Wikipedia and Wikidata record — summary, key facts, and current role — so I can verify the details?"},{"title":"Country fact lookup for a report","prompt":"I'm writing a report and need structured data on Germany, Japan, and Brazil — can you get me their Wikipedia summaries, Wikidata IDs, GDP info, and any other key facts available?"}],"resultDescription":"For each entity, the agent receives a structured record containing: a Wikipedia summary paragraph, the Wikidata entity ID (e.g. Q12345), key factual attributes (country, founded date, headquarters, CEO, website, industry), a Wikipedia image URL, and the 30-day pageview count. Failed lookups are flagged but not billed.","failureModes":["Entity not found on Wikipedia or Wikidata — record returned with failure flag, not billed","Ambiguous entity name resolving to wrong Wikipedia article","Non-English Wikipedia editions may have less complete Wikidata fact coverage","Exceeding 3 entities per call returns a validation error","Rate limiting or payment failure on x402 protocol","Very new entities may lack Wikidata facts or pageview history"],"whenToPreferThis":"Choose this endpoint when you need fast, structured encyclopedic enrichment for named entities (companies, people, places, things) without managing Wikipedia/Wikidata API credentials yourself. It is ideal for LLM grounding, knowledge graph population, CRM enrichment, and fact verification tasks where you need a single consolidated record with summary, Wikidata ID, key facts, image, and popularity signal in one call. Prefer it over raw Wikipedia/Wikidata APIs when you want keyless bulk access up to 3 entities per call and pay-per-use pricing with no failed-lookup charges.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:42:29.191Z","isFirstParty":false,"canonicalSlug":"wikipedia-wikidata-api-93829e90"}