{"uid":"cap_4fZjxGlExEZajaYaFN-su","slug":"toll402-wikipedia-summary-38850313","name":"Toll402 Wikipedia Summary","description":"Summary extract and canonical URL for a Wikipedia topic via https://<lang>.wikipedia.org/api/rest_v1/page/summary/<title>","url":"https://toll402.dev/v1/t/wikipedia_summary","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["title"],"properties":{"lang":{"type":"string","default":"en"},"title":{"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DI8hQfBGvCLsULC6ly405","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a plain-text summary extract and canonical URL for a Wikipedia article by topic title and language","exampleAgentPrompt":"Can you pull the Wikipedia summary for 'Quantum entanglement' in English and give me the extract and the canonical article URL?","exampleUseCases":[{"title":"Quick fact-check on a topic","prompt":"What does Wikipedia say about the Large Hadron Collider? Give me the summary extract and the canonical article link."},{"title":"Multilingual Wikipedia lookup","prompt":"Fetch me the French Wikipedia summary for 'Tour Eiffel' — I need the short description and the page URL."},{"title":"Enrich entity data in a pipeline","prompt":"I have a list of historical figures starting with 'Napoleon Bonaparte' — grab the Wikipedia summary for each so I can add a short bio to their profile cards."}],"resultDescription":"Returns a JSON object containing the article's plain-text extract (intro paragraph), the canonical Wikipedia URL, the article title, a short description, and optionally thumbnail information — ready to display or pass into downstream LLM processing.","failureModes":["Article not found for the given title returns a 404-style error","Ambiguous or misspelled title may return a disambiguation page summary rather than the intended topic","Non-existent language code returns an error from the upstream Wikipedia API","Rate limiting or Wikipedia API downtime causes request failure","Title with special characters may require URL encoding to resolve correctly"],"whenToPreferThis":"Choose this endpoint when you need a quick, factual summary of a well-known topic, person, place, or concept and Wikipedia is an acceptable source. It is ideal for enriching entity data, providing background context in agent workflows, or answering 'what is X' questions without running a full web search. Prefer it over a general web-scraping endpoint when the target is specifically a Wikipedia article and you want a clean, structured extract rather than raw HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:48:06.100Z","isFirstParty":false}