{"uid":"cap_uvFWmRJhzHsPzG3USeE7y","slug":"wikipedia-random-article-fetcher-b99dbed1","name":"Wikipedia Random Article Fetcher","description":"51 REST endpoints for AI agents. Weather, news, crypto, stocks, products, courses, real estate, and 42 more. Pay per call in USDC/USDT via x402.","url":"https://engedi.digi-life17.workers.dev/api/wikipedia/random","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","properties":{"lang":{"type":"string","description":"Language code (default en)"},"count":{"type":"number","description":"Number of articles (default 1, max 10)"}}}}},"output":{"type":"object","properties":{"data":{"type":"object"},"_meta":{"type":"object","properties":{"cached":{"type":"boolean"},"source":{"type":"string"},"confidence":{"type":"number"},"last_updated":{"type":"string"}}},"success":{"type":"boolean"}}}}},"responseSchema":{},"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_XKUcRoZyuUpUDVM6Ejf1o","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":"Fetches one or more random Wikipedia articles in a specified language","exampleAgentPrompt":"Give me 3 random Wikipedia articles in Spanish — I want to discover something unexpected today.","exampleUseCases":null,"resultDescription":"Returns an object containing random Wikipedia article data (titles, summaries, URLs, etc.) along with metadata including cache status, data source, confidence score, and last updated timestamp. The number of articles returned matches the requested count (default 1, max 10).","failureModes":["Invalid language code returns error or falls back to English","Count exceeding 10 may return error or be capped","Wikipedia API unavailability causes fetch failure","Cached stale data may be returned when source is unavailable"],"whenToPreferThis":"Use this endpoint when you need to surface random or serendipitous Wikipedia content for discovery, trivia, education, or content inspiration purposes, especially when you want multilingual support. Prefer this over a search-based Wikipedia endpoint when you don't have a specific topic in mind.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:49:49.241Z","isFirstParty":false}