# Gateoverflow — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Retrieve GATE exam questions complete with multiple choice options, detailed metadata, and subject tags to help you study and practice for your exams. Access a curated collection of questions from GATEOverflow.in to build custom study materials and test your preparation.

**Category:** Education | **Website:** [gateoverflow.in/1457/gate-cse-1999-question-1-3](https://gateoverflow.in/1457/gate-cse-1999-question-1-3) | **Docs:** [parse.bot/marketplace/c3809c2e-e280-4d40-9f33-cdff2e57ef16/gateoverflow-in-api](https://parse.bot/marketplace/c3809c2e-e280-4d40-9f33-cdff2e57ef16/gateoverflow-in-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-gateoverflow-in-api-c3809c2e/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_question

Retrieve a GATE exam question by its numeric ID. Returns the question text, multiple-choice options (labeled A through D or more), tags, vote count, view count, and answer count. The question_text and option texts contain LaTeX math notation in $...$ delimiters. Options are present only for MCQ-type questions; non-MCQ questions return an empty options array.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `question_id` | string | Yes | Numeric question ID from GATEOverflow (visible in the URL path, e.g. '1457' from gateoverflow.in/1457/...). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-gateoverflow-in-api-c3809c2e/get_question \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"question_id":"<string>"}'
```
