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

> Search for India's accredited educational institutions and access their NAAC accreditation history, assessment reports, and detailed evaluation data by state. Find comprehensive information about institution quality metrics, self-study reports, and peer team evaluations all in one place.

**Category:** Education | **Website:** [naac.gov.in/](https://naac.gov.in/) | **Docs:** [parse.bot/marketplace/712e2b0a-dc73-4217-9080-536a6c520205/naac-gov-in-api](https://parse.bot/marketplace/712e2b0a-dc73-4217-9080-536a6c520205/naac-gov-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-naac-gov-in-api-712e2b0a/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_institution_details

Retrieve detailed accreditation information and report links (IIQA, SSR, Peer Team Report, Grade Sheet) for a specific institution.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `assessment_id` | integer | Yes | The HEI assessment ID (hei_assessment_id) from search results |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-naac-gov-in-api-712e2b0a/get_institution_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"assessment_id":"<integer>"}'
```

### get_latest_results

Retrieve links to the latest accreditation results PDF reports published on the NAAC main site.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-naac-gov-in-api-712e2b0a/get_latest_results \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_states

Get the mapping of state names to their corresponding IDs for use in search filters.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-naac-gov-in-api-712e2b0a/get_states \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_accredited_institutions

Search for NAAC accredited institutions using various filters. Returns a paginated list of institutions with basic accreditation data.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `inst_name` | string | No | Institution name or partial name (e.g. 'Palamuru') |
| `inst_type` | integer | No | Institution type: 0=All, 1=College, 2=University |
| `limit` | integer | No | Number of results to return (max 100) |
| `start` | integer | No | Pagination start offset index |
| `state` | integer | No | State ID (get list from get_states endpoint) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-naac-gov-in-api-712e2b0a/search_accredited_institutions \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inst_name":"<string>","inst_type":"<integer>","limit":"<integer>","start":"<integer>","state":"<integer>"}'
```
