Search Stack Exchange
PythonDeveloper ToolsPOST api.upapi.io/stackexchange-search.getFull-text search over any Stack Exchange site (stackoverflow, superuser, askubuntu, etc.). Returns question id, title, tags, score, answer count, accepted-answer flag, asker, timestamps.
stackoverflowstackexchangesearchpython
AuthAPI key
Cost1 unit
Timeout15s
Cache60s
Request schema
| Field | Type | Description |
|---|---|---|
site | string | Stack Exchange site slug (stackoverflow, superuser, askubuntu, serverfault, etc.)· default: "stackoverflow" |
sort | string | · default: "relevance" |
queryreq | string | Full-text search query |
pageSize | integer | · default: 10 |
Response schema
| Field | Type | Description |
|---|---|---|
hitsreq | array | |
sitereq | string | |
queryreq | string | |
hasMorereq | boolean | |
fetchedAtreq | string | |
totalReturnedreq | integer | |
quotaRemainingreq |
Try it
Try it
Full-text search query
Stack Exchange site slug (stackoverflow, superuser, askubuntu, serverfault, etc.)
Run this endpoint live
Jump in as a guest — no signup — and run stackexchange-search.get with your own inputs. Create a free account anytime to get your own API key.
Code examples
curl -X POST https://api.upapi.io/stackexchange-search.get \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{ "site": "stackoverflow", "sort": "relevance", "query": "typescript", "pageSize": 10 }'Developer tools
OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.