{"uid":"cap_zNChcXZA5dGHAUD_LWv3S","slug":"wikimedia-commons-license-template-lookup-2324aded","name":"Wikimedia Commons License Template Lookup","description":"Pay-per-call company registry, government, legal and B2B data tools for AI agents, from official registers and public sources. Payment: x402, USDC on Base, Solana, Arc, Polygon, Arbitrum, Monad, World Chain, Optimism, Avalanche, Celo or Stellar, or RLUSD/XRP on the XRP Ledger. No signup, no API key; a failed call is not charged.","url":"https://api.companyrecords-api.workers.dev/api/gov/wikimedia-commons-license?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":{"limit":{"type":"string","description":"Templates to return, 1 to 20 (default 10)"},"prefix":{"type":"string","description":"Template name prefix, 2 to 40 letters, digits, hyphens or dots, e.g. Cc-zero"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"prefix":"Cc-zero","source":"https://commons.wikimedia.org/w/api.php","checkedAt":"2026-10-23T09:37:11.357Z","templates":[{"url":"https://commons.wikimedia.org/wiki/Template%3ACc-zero","title":"Template:Cc-zero","pageId":4037295},{"url":"https://commons.wikimedia.org/wiki/Template%3ACc-zero-1.0","title":"Template:Cc-zero-1.0","pageId":66391609}]}},"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_v_AtRZwY6v1Kdilx5xA2p","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 Wikimedia Commons license template names, page IDs, and links matching a given prefix (e.g. 'Cc-zero' or 'Cc-by-sa')","exampleAgentPrompt":"Can you find me all Wikimedia Commons license templates that start with 'Cc-by-sa', up to 10 results, and give me their titles, page IDs, and links?","exampleUseCases":[{"title":"Identify CC license template variants","prompt":"What Wikimedia Commons license templates start with 'Cc-by'? I need up to 15 of them with their page IDs and URLs so I can figure out which specific CC-BY variants exist."},{"title":"Look up public domain template","prompt":"Find all Wikimedia Commons templates whose name starts with 'Cc-zero' — I want to know the exact template title and page ID for the CC0 public domain dedication."},{"title":"Enumerate CC-BY-NC templates for compliance","prompt":"Search Wikimedia Commons for any license templates beginning with 'Cc-by-nc' and return up to 20 results including their template names and links."}],"resultDescription":"A JSON object containing the queried prefix, the Wikimedia Commons API source URL, a timestamp of when the check was performed, and an array of matching templates each with a title, page ID, and direct URL to the template page on Wikimedia Commons.","failureModes":["Prefix shorter than 2 characters or longer than 40 returns a validation error","Limit outside 1-20 range causes a parameter rejection","No templates matching the prefix returns an empty templates array","Wikimedia Commons API unavailable returns a proxy/upstream error","Invalid characters in prefix (non-alphanumeric, non-hyphen, non-dot) cause a 400 error"],"whenToPreferThis":"Use this endpoint when you need to discover or enumerate Wikimedia Commons license template names and their identifiers by a known prefix, particularly for Creative Commons license variants. Prefer it over manual Wikimedia API calls when you want a simple, pay-per-call lookup of template metadata (title, page ID, URL) without needing the full license text or usage rules.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:46:05.798Z","isFirstParty":false,"canonicalSlug":"wikimedia-commons-license-template-lookup-2324aded"}