Skip to main content
fastCRW Pergamon
Developer · US

Stack Exchange

api.stackexchange.com

Questions, answers and tags across Stack Overflow and every Stack Exchange site.

Showing the catalogue

1Request

Numeric answer id. Semicolon-separated ids are accepted, up to 100.

Use withbody to include the rendered HTML answer body.

1 credit⌘ ↵
Code follows the fields above
curl "https://api.fastcrw.com/v1/data/stackexchange/answer?id=11227902" \
  -H "Authorization: Bearer $FASTCRW_API_KEY"

2Response example

A sample shape. Press Run to see live data from Stack Exchange.

owneris_acceptedscorelast_activity_datelast_edit_datecreation_dateanswer_idquestion_id
{"account_id":559988,"reputation":473503,"user_id":922184,"user_type":"registered","profile_image":"https://i.sstatic.net/h7WDB.jpg?s=256","display_name":"Mysticial","link":"https://stackoverflow.com/users/922184/mysticial"}true352961709573833170957383313408054021122790211227809

1 more column in JSON.

Attribution: Source: Stack Exchange, CC BY-SA

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.

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Answer by ID

    Use Stack Exchange (stackexchange) from fastCRW Pergamon, capability "Answer by ID" (answer). You have an answer id, for example from a permalink ending in #<id>, and want that answer alone. Example options: id=11227902, filter=withbody. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "stackexchange" and capability "answer". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Answers to a question

    Use Stack Exchange (stackexchange) from fastCRW Pergamon, capability "Answers to a question" (answers). You have a question id and want the actual answers, for example to read the accepted solution. Example options: id=11227809, filter=withbody, sort=votes. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "stackexchange" and capability "answers". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Comments on a question

    Use Stack Exchange (stackexchange) from fastCRW Pergamon, capability "Comments on a question" (comments). The answers did not settle it and you need the clarifications and caveats people left in the comment thread. Example options: id=11227809, sort=votes. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "stackexchange" and capability "comments". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Questions linking to this one

    Use Stack Exchange (stackexchange) from fastCRW Pergamon, capability "Questions linking to this one" (linked). You want to see where a canonical question is cited from, to gauge its reach or find adjacent problems. Example options: id=11227809, sort=votes. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "stackexchange" and capability "linked". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>