{"uid":"cap_ANbnZCOwb-2oyhhABxIuI","slug":"quantaflow-x402-api-gateway-opentdb-proxy-6165c66c","name":"QuantaFlow x402 API Gateway – OpenTDB Proxy","description":"Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.","url":"https://quanta-roan.vercel.app/api/service/opentdb?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"body":{"type":"string","description":"Optional JSON body forwarded to POST requests."},"path":{"type":"string","description":"Path below the selected upstream origin."},"query":{"type":"object"},"method":{"enum":["GET","POST"],"type":"string"}}},"responseSchema":{"description":"The upstream response body and content type are passed through after successful payment."},"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_F2yKDWTT1NVB4r5bA9iY-","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":"Proxies requests to the Open Trivia Database (OpenTDB) API via an x402 micropayment-gated gateway, charging $0.01 USDC per call.","exampleAgentPrompt":"Fetch me 10 medium-difficulty multiple-choice trivia questions from the Science & Nature category using the OpenTDB gateway — pay the $0.01 USDC per-call fee automatically.","exampleUseCases":[{"title":"Quiz night question generator","prompt":"Pull 20 random trivia questions mixed across all categories and difficulties — I'm building a pub quiz and need a variety of questions right now."},{"title":"Category-specific trivia for a mobile game","prompt":"Get me 15 hard multiple-choice trivia questions specifically from the History category so I can populate a new level in my trivia game."},{"title":"True/false trivia pack for kids","prompt":"Fetch 10 easy true/false trivia questions from the Animals category — I need them for a kids' quiz tonight."}],"resultDescription":"The raw upstream OpenTDB API response is passed through after successful payment verification — typically a JSON object containing an array of trivia question objects with fields like question text, correct answer, incorrect answers, category, difficulty, and type (multiple choice or boolean).","failureModes":["Payment failure: insufficient USDC balance or x402 payment rejection returns a 402 Payment Required error","Invalid path: incorrect OpenTDB path segment results in a 404 or upstream error passthrough","Malformed query parameters: upstream OpenTDB validation errors are passed through as-is","Rate limiting: OpenTDB upstream may throttle requests even if payment succeeds","Network error: Vercel-hosted gateway unavailability returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need pay-per-use access to OpenTDB trivia data without managing an API key, want to consume trivia data via x402 micropayments (USDC on-chain), or are building a web3-native application where all external API calls should go through a crypto payment rail. Prefer alternatives (direct OpenTDB API) if you need high-volume access where per-call costs would accumulate significantly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:46:43.502Z","isFirstParty":false,"canonicalSlug":"quantaflow-x402-api-gateway-opentdb-proxy-6165c66c"}