{"uid":"cap_1TaMe9dx25_5DYGUquzGW","slug":"twin-prime-pair-generator-9b06fe7b","name":"Twin Prime Pair Generator","description":"Generate twin prime pairs (p, p+2, both prime) up to a specified limit.","url":"https://sovereign-x402-zeta.vercel.app/api/v1/sequence/prime_pairs?utm_source=zero.xyz","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","properties":{},"additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uYGmqDcA57AqzXakviwoD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates all twin prime pairs (p, p+2) where both numbers are prime, up to a specified upper limit.","exampleAgentPrompt":"Can you generate all twin prime pairs — where both p and p+2 are prime — up to 1000?","exampleUseCases":[{"title":"Math homework twin prime listing","prompt":"I need all twin prime pairs up to 500 for my number theory homework — can you generate the full list?"},{"title":"Cryptography research prime exploration","prompt":"For my research project, generate every twin prime pair below 10000 so I can study their distribution."},{"title":"Educational prime pattern demonstration","prompt":"I'm teaching a class on prime numbers — can you show all the twin prime pairs up to 200 so students can see the pattern?"}],"resultDescription":"A list of twin prime pairs (p, p+2) where both values are prime numbers, covering all such pairs up to the specified upper limit integer.","failureModes":["Missing or invalid limit parameter causes a 400 error","Non-integer or negative limit may result in empty list or error","Very large limits may cause timeout or slow response","Payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need all twin prime pairs up to a boundary in one call, rather than checking individual numbers for primality one at a time. Prefer it over the sibling prime-list endpoint when specifically looking for pairs where p and p+2 are both prime.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:48:49.288Z","isFirstParty":false,"canonicalSlug":"twin-prime-pair-generator-9b06fe7b"}