# Sarkariresult — 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.

> Get instant access to Indian government exam notifications, results, admit cards, and job postings all in one place. Stay updated on the latest Sarkari opportunities without manually checking multiple websites.

**Category:** Government & Public Data | **Website:** [sarkariresult.com.cm/](https://sarkariresult.com.cm/) | **Docs:** [parse.bot/marketplace/3f255041-7d25-4c19-baee-d78c7e8592bf/sarkariresult-com-cm-api](https://parse.bot/marketplace/3f255041-7d25-4c19-baee-d78c7e8592bf/sarkariresult-com-cm-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-sarkariresult-com-cm-api-3f255041/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_post

Retrieve full details of a single exam post by its numeric ID. Returns comprehensive information including short details, important dates, application fees, age limits, vacancy details, and important links as HTML content.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `post_id` | string | Yes | Numeric post ID (e.g. from list_posts results). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-sarkariresult-com-cm-api-3f255041/get_post \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"post_id":"<string>"}'
```

### list_posts

Search and list government exam posts. Supports filtering by category (latest-job, admit-card, result, answer-key, admission, syllabus, sarkari-job, documents) and free-text search. Results are auto-iterated across pages; each post includes title, dates, and vacancy count.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Filter posts by category slug. |
| `page` | integer | No | Page number for pagination (1-based). |
| `search` | string | No | Free-text search query to filter posts by keyword (e.g. 'UPSC', 'Railway'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-sarkariresult-com-cm-api-3f255041/list_posts \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","page":"<integer>","search":"<string>"}'
```
