dev

Search Stack Overflow questions (keyless).

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.

get/api/dev/stackoverflow-search

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/dev/stackoverflow-search
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

qstring required

Search query, e.g. "async await deadlock c#".

sort'relevance' | 'votes' | 'activity' | 'creation'

Default relevance.

limitinteger

Maximum number of results to return.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.