# Stack Overflow Data API (https://www.socialcrawl.dev/platforms/stackoverflow) > Stack Overflow API with 4 endpoints: Search, Question, Question Answers, and Question Comments. Search questions by keyword and tag, then read any question with its body, score, views, tags, answers, comments and accepted answer, as plain text. 100 free credits, no card. TL;DR: SocialCrawl's Stack Overflow API exposes 4 endpoints, 1 credit per call, all returning one unified JSON schema with computed fields such as engagement rate, language and content category. Single x-api-key auth, 100 free credits on signup. ## Endpoints | Endpoint | Method | Path | Credits | Description | | --- | --- | --- | --- | --- | | Search | GET | `/v1/stackoverflow/search` | 1 | Search Stack Overflow questions | | Question | GET | `/v1/stackoverflow/question` | 1 | Get a Stack Overflow question | | Question Answers | GET | `/v1/stackoverflow/question/answers` | 1 | Get the answers to a Stack Overflow question | | Question Comments | GET | `/v1/stackoverflow/question/comments` | 1 | Get the comments on a Stack Overflow question | ## Code example ```bash curl -G "https://www.socialcrawl.dev/v1/stackoverflow/search" \ --data-urlencode "query=pandas groupby" \ -H "x-api-key: sc_YOUR_API_KEY" ``` Every response shares one JSON envelope: `{ success, platform, endpoint, data, credits_used, credits_remaining }`. ## FAQ ### What does the SocialCrawl Stack Overflow API cover? It covers 4 endpoints: Search, Question, Question Answers, and Question Comments. They search questions by keyword and tag and read one question with its answers and comments, in the same unified JSON as the other 94 platforms. ### Do I need a Stack Overflow account or app key? No. Send your SocialCrawl API key in the x-api-key header. There is no Stack Exchange app to register, and SocialCrawl handles the site's own request quota. Your key's usual rate limits apply. ### Are question and answer bodies returned as HTML? No. Bodies, answers and comments come back as plain text, with paragraphs and code on their own lines. ### How do I find the accepted answer to a question? The question returns its id in post.ext.stackoverflow.accepted_answer_id, and that answer has comment.ext.stackoverflow.is_accepted set to true. ### How much does the Stack Overflow API cost? Every Stack Overflow route costs 1 credit a call and cache hits are free. A new account gets 100 free credits with no card. ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing ## Explore with AI Questions this API answers, phrased for an AI assistant: - What is the SocialCrawl Stack Overflow API? - How do I search Stack Overflow questions with an API? - Is there an API for Stack Overflow answers without an app key?