Stack Exchange
DeveloperUSapi.stackexchange.com
Questions, answers and tags across Stack Overflow and every Stack Exchange site.
Capabilities (17)
GET /v1/data/stackexchange/answer1 creditReturns a single answer with its score, is_accepted flag, parent question id, owner and timestamps.
GET /v1/data/stackexchange/answers1 creditReturns every answer on the question with score, is_accepted, owner and timestamps.
GET /v1/data/stackexchange/comments1 creditReturns the comments posted directly on the question, with body, score, owner and creation date.
GET /v1/data/stackexchange/linked1 creditReturns questions whose body contains a link to the given question.
GET /v1/data/stackexchange/question1 creditReturns the question's title, tags, score, view count, answer count, accepted answer id, owner and timestamps.
GET /v1/data/stackexchange/related1 creditReturns questions the site's own similarity engine considers related to the given question.
GET /v1/data/stackexchange/search1 creditReturns questions matching a free-text query, optionally narrowed by tag, answered state and score.
GET /v1/data/stackexchange/similar1 creditReturns questions whose titles are similar to the supplied text, the same duplicate-detection search the ask page runs.
GET /v1/data/stackexchange/sites1 creditReturns every site in the Stack Exchange network with its api_site_parameter, name, URL, launch date and icons.
GET /v1/data/stackexchange/tag-info1 creditReturns the tag's total question count and its moderator-only, required and has_synonyms flags.
GET /v1/data/stackexchange/tags1 creditReturns Stack Overflow tags with their question counts, ordered by popularity, name or activity.
GET /v1/data/stackexchange/tag-top-answerers1 creditReturns the users with the highest answer score in the tag over the chosen period, with their score and post counts.
GET /v1/data/stackexchange/top-questions1 creditReturns a page of Stack Overflow questions ordered by votes, activity or creation date, optionally restricted to a tag.
GET /v1/data/stackexchange/user1 creditReturns the user's reputation, badge counts, display name, location, account age, profile image and link.
GET /v1/data/stackexchange/user-answers1 creditReturns the answers a user has posted, with score, accepted state and parent question id.
GET /v1/data/stackexchange/user-questions1 creditReturns the questions a user has asked, with tags, score, answer count and timestamps.
GET /v1/data/stackexchange/user-top-tags1 creditReturns the tags the user answers in, each with their answer count, answer score, question count and question score in that tag.
Licence
Content is CC BY-SA (4.0 for posts after 2018-05-02); the Stack Exchange API terms require attribution and a visible link back.
https://stackoverflow.com/help/licensingAttribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: Stack Exchange, CC BY-SA
Cache: up to 3600s
