# Stackexchange Question ## Overview | Property | Value | |----------|-------| | **Status** | private | | **Method** | `GET` | | **Endpoint** | `/v2/stackexchange/question` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 1 credit per call | | **Documentation** | https://www.piloterr.com/library/stackexchange-question | ## Description Unlock comprehensive insights by extracting questions and answers from Stackexchange with our powerful API. ## Authentication - **Key Name:** `x-api-key` - **Location:** HTTP Header - **Get an API key:** https://app.piloterr.com/register ## Example Request ```bash curl --location --request GET 'https://api.piloterr.com/v2/stackexchange/question' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### Example ```json { "answers": [ { "id": 12435, "body": "In French, the expression \"J'aime\" usually means 'I love', while \"J'aime bien\" conveys a softer sense such as 'I like'. So, 'J'aime mon frère' means 'I love my brother' implying deep affection. On the other hand, 'J'aime bien mon frère' suggests 'I like my brother' which indicates a friendly or fond sentiment without the same depth as love.", "author": { "username": "Laurel" }, "created_date": "2013-09-25" } ], "question": { "id": 12426, "body": "What is the difference between 'J'aime' and 'J'aime bien' when speaking about a person? For example, 'J'aime mon frère' and 'J'aime bien mon frère'.", "tags": [ "expressions", "french-language" ], "title": "J'aime vs. J'aime bien", "author": { "username": "randomname" }, "created_date": "2013-09-25" } } ``` ## Documentation ## Overview Unlock comprehensive insights by extracting questions and answers from Stackexchange with our powerful API. ## Quickstart ``` GET https://api.piloterr.com/v2/stackexchange/question?query=example ``` ## Parameters | Parameter | Type | Required | Description | |---|---|---|---| | `query` | string | yes | Search query or target identifier | ## Main use cases - Integrate Stackexchange Question data into enrichment, analytics, and monitoring pipelines - Automate large-scale extraction from Stackexchange without maintaining scrapers - Power internal dashboards and workflow automations with live Stackexchange data