{"uid":"cap_T5WDHhvCz3QU1ajuix1Pa","slug":"saylor-innovations-trivia-categories-b3044739","name":"Saylor Innovations Trivia Categories","description":"Open Trivia DB category ids and names, for filtering trivia questions","url":"https://saylorinnovations.com/api/trivia/categories?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"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["found"],"properties":{"count":{"type":["number","null"],"description":"Number of items returned"},"found":{"type":"boolean","description":"True when the lookup matched a record"},"categories":{"type":"array","items":{"type":"object"},"description":"Categories"}}}}}}},"responseSchema":null,"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_A0AyJK35c52zKDh4iaRtV","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":"Returns all available Open Trivia DB category IDs and names for filtering trivia questions","exampleAgentPrompt":"What trivia categories are available on the Open Trivia DB? I need the category names and their IDs so I can pick one to filter my questions by.","exampleUseCases":[{"title":"Trivia night category picker","prompt":"Before I start pulling trivia questions, can you fetch all the available categories so I can choose which topic to use for tonight's quiz?"},{"title":"Building a category dropdown for a quiz app","prompt":"I'm setting up a trivia quiz and need a full list of category names and their IDs from the Open Trivia DB so I can populate my category selector."},{"title":"Checking which science topics exist in trivia","prompt":"Can you look up all the trivia categories and tell me which ones are science-related, along with their IDs?"}],"resultDescription":"Returns a JSON object with a boolean 'found' field, an optional count of categories, and an array of category objects each containing a numeric ID and a name string corresponding to Open Trivia DB categories (e.g. Science: Computers, Entertainment: Film, History).","failureModes":["Upstream Open Trivia DB unavailable — returns found: false or empty categories array","Network timeout — may return an error response with no categories","Payment failure — x402 payment not accepted, request rejected before processing"],"whenToPreferThis":"Use this endpoint when you need to discover valid category IDs and names from Open Trivia DB before querying trivia questions, or when you want to present users with a list of available quiz topics. Prefer this over hardcoding category IDs since the upstream DB may add or rename categories.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T06:54:49.694Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-trivia-categories-b3044739"}