{"@context": "https://schema.org", "@type": "WebAPI", "name": "StackExchange API", "description": "Stack Exchange is a network of 130+ Q&A communities including Stack Overflow.", "provider": {"@type": "Organization", "name": "stackexchange.com"}, "documentation": "https://raw.githubusercontent.com/APIs-guru/unofficial_openapi_specs/master/stackexchange.com/2.0/openapi.yaml"}
Stack Exchange is a network of 130+ Q&A communities including Stack Overflow.
Every row below was read from the vendor's own OpenAPI document. The summary text is theirs. What this registry adds is that each operation is indexed with its method, path, base URL and auth scheme, so a search for a capability can answer with a call rather than a name, and that the endpoint is probed on a schedule.
Specifications as held by the APIs.guru corpus, whose newest record is 2023-04-21. Operations the vendor has added since are not listed here; the origin links above are the vendor's own current documents.
base URLs: https://api.stackexchange.com/2.0
auth: o a u t h 2
find it by capability: POST /search {"query":{"text":"..."}} returns these
operations with their invocation detail. Connect any agent client.
Stack Exchange is a network of 130+ Q&A communities including Stack Overflow.
| method | path | what the vendor says it does |
|---|---|---|
GET | /access-tokens/{accessTokens} | Reads the properties for a set of access tokens. {accessTokens} can contain up to 20 access tokens. These ar |
GET | /access-tokens/{accessTokens}/invalidate | Immediately expires the access tokens passed. This method is meant to allow an application to discard any acti |
GET | /answers | Returns all the undeleted answers in the system. The sorts accepted by this method operate on the follow fie |
GET | /answers/{ids} | Gets the set of answers identified by ids. This is meant for batch fetcing of questions. A useful trick to p |
GET | /answers/{ids}/comments | Gets the comments on a set of answers. If you know that you have an answer id and need the comments, use thi |
GET | /apps/{accessTokens}/de-authenticate | Passing valid access_tokens to this method causes the application that created them to be de-authorized by the |
GET | /badges | Returns all the badges in the system. Badge sorts are a tad complicated. For the purposes of sorting (and mi |
GET | /badges/name | Gets all explicitly named badges in the system. A named badged stands in opposition to a tag-based badge. Th |
GET | /badges/recipients | Returns recently awarded badges in the system. As these badges have been awarded, they will have the badge.u |
GET | /badges/tags | Returns the badges that are awarded for participation in specific tags. For the rank sort, bronze is greater |
GET | /badges/{ids} | Gets the badges identified in id. Note that badge ids are not constant across sites, and thus should be look |
GET | /badges/{ids}/recipients | Returns recently awarded badges in the system, constrained to a certain set of badges. As these badges have |
GET | /comments | Gets all the comments on the site. If you're filtering for interesting comments (by score, creation date, et |
GET | /comments/{ids} | Gets the comments identified in id. This method is most useful if you have a cache of comment ids obtained t |
POST | /comments/{id}/delete | Deletes a comment. Use an access_token with write_access to delete a comment. In practice, this method wil |
POST | /comments/{id}/edit | Edit an existing comment. Use an access_token with write_access to edit an existing comment. This method r |
GET | /errors | Returns the various error codes that can be produced by the API. This method is provided for discovery, docu |
GET | /errors/{id} | This method allows you to generate an error. This method is only intended for use when testing an applicatio |
GET | /events | Returns a stream of events that have occurred on the site. The API considers the following "events": - post |
GET | /filters/create | Creates a new filter given a list of includes, excludes, a base filter, and whether or not this filter should |
GET | /filters/{filters} | Returns the fields included by the given filters, and the "safeness" of those filters. It is not expected th |
GET | /inbox | Returns a user's inbox. This method requires an access_token, with a scope containing "read_inbox". This m |
GET | /inbox/unread | Returns the unread items in a user's inbox. This method requires an access_token, with a scope containing "r |
GET | /info | Returns a collection of statistics about the site. Data to facilitate per-site customization, discover relat |
GET | /me | Returns the user associated with the passed access_token. This method returns a user. |
GET | /me/answers | Returns the answers owned by the user associated with the given access_token. This method returns a list of |
GET | /me/associated | Returns all of a user's associated accounts, given an access_token for them. This method returns a list of n |
GET | /me/badges | Returns the badges earned by the user associated with the given access_token. This method returns a list of |
GET | /me/comments | Returns the comments owned by the user associated with the given access_token. This method returns a list of |
GET | /me/comments/{toId} | Returns the comments owned by the user associated with the given access_token that are in reply to the user id |
GET | /me/favorites | Returns the questions favorites by the user associated with the given access_token. This method returns a li |
GET | /me/inbox | Returns the user identified by access_token's inbox. This method requires an access_token, with a scope cont |
GET | /me/inbox/unread | Returns the unread items in the user identified by access_token's inbox. This method requires an access_toke |
GET | /me/mentioned | Returns the comments mentioning the user associated with the given access_token. This method returns a list |
GET | /me/merges | Returns a record of merges that have occurred involving a user identified by an access_token. This method al |
GET | /me/notifications | Returns a user's notifications, given an access_token. This method requires an access_token, with a scope co |
GET | /me/notifications/unread | Returns a user's unread notifications, given an access_token. This method requires an access_token, with a s |
GET | /me/privileges | Returns the privileges the user identified by access_token has. This method returns a list of privileges. |
GET | /me/questions | Returns the questions owned by the user associated with the given access_token. This method returns a list o |
GET | /me/questions/featured | Returns the questions that have active bounties offered by the user associated with the given access_token. |
and 84 more operation(s) in this specification, all searchable.
specification origin: https://raw.githubusercontent.com/APIs-guru/unofficial_openapi_specs/master/stackexchange.
nothing on this page is a rating, an endorsement or a claim about quality. Reachability is what our probes observed from one network; answering is a floor under usefulness, not a measure of it.