{"uid":"cap_z1MquIjVUOFhcAGe-JE-3","slug":"2s-io-stack-overflow-search-6fa54aaf","name":"2s.io Stack Overflow Search","description":"Search Stack Overflow questions (keyless). Each result: title, link, score, answer count, answered flag, view count, tags, creation date, and question id. Sort by relevance, votes, activity, or creation. For coding agents that need authoritative Q&A on errors, APIs, and language features.","url":"https://2s.io/api/dev/stackoverflow-search","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","maxLength":200,"minLength":2,"description":"Search query, e.g. \"async await deadlock c#\"."},"sort":{"enum":["relevance","votes","activity","creation"],"type":"string","description":"Default relevance."},"limit":{"type":"integer","maximum":30,"minimum":1}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0036","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.0036/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IDWi6T-RkUL7OR24ywD_i","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0036","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search Stack Overflow questions by keyword and return ranked results with metadata including title, score, answer count, tags, and view count.","exampleAgentPrompt":"Search Stack Overflow for the top 10 questions about async await deadlock in C#, sorted by votes, and show me the titles, scores, and whether they've been answered.","exampleUseCases":null,"resultDescription":"A list of up to 30 Stack Overflow questions, each containing: title, direct link, community score, answer count, answered flag, view count, associated tags, creation date, and question ID — ready for an agent to surface relevant threads or drill into specific answers.","failureModes":["Empty results if the query is too obscure or misspelled","Rate limiting or quota exhaustion returning an error","Query string too short (under 2 characters) or too long (over 200 characters) causing validation failure","Network timeout if Stack Overflow upstream is slow","Payment failure via x402 protocol if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when a coding agent needs to surface authoritative, community-vetted Q&A from Stack Overflow — especially for error messages, API usage questions, or language-specific patterns. Prefer this over general web search when the query is programming-specific and you want structured metadata (score, answer count, tags) rather than raw HTML. It requires no API key and charges only per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:11:23.404Z","isFirstParty":false}