API Documentation
All endpoints are read-only HTTP GET routes under /v1, require zero API keys, and send Access-Control-Allow-Origin: *.
Endpoints
| Method & Path | Parameters | Description |
|---|---|---|
| GET /health | None | Service status, dataset coverage, and endpoint inventory (alias of GET /). |
| GET /v1/gi | q, state, goods, status, filed_after, filed_before, limit, offset | Filter and paginate registered Indian GI tags. Unknown state/goods return 404 with valid options. |
| GET /v1/gi/:appNo | by=app_no|sl | Look up a GI record by IP India application number (including compound IDs) or serial number. |
| GET /v1/states | None | List all 34 covered States and UTs with single-state, shared, and total GI counts. |
| GET /v1/categories | None | List the 5 normalized goods classes with record counts and sample GI tags. |
| GET /v1/meta | None | Upstream PDF URL, SHA-256 hash, Last-Modified date, fetch timestamp, and counts. |
Filter by state and goods (cURL)
curl "https://india-gi-tags-api.vercel.app/v1/gi?state=Maharashtra&goods=Handicraft&limit=20"Lookup compound application number (JS)
const res = await fetch("https://india-gi-tags-api.vercel.app/v1/gi/115");
const json = await res.json();Response Envelope & Rate Limit
Rate limiting is enforced at 100 requests per 15 minutes per IP address on each server instance (returning HTTP 429 with code RATE_LIMITED). Invalid query parameters return HTTP 400 INVALID_PARAM; unknown filter enum values return HTTP 404 with the list of valid values.
{
"success": true,
"data": [
{
"sl_no": 1,
"app_no": "1055",
"app_numbers": [
"1055"
],
"name": "Andaman Karen Musley Rice",
"status": "Registered",
"filing_date": "2023-02-03",
"filing_dates": [
"2023-02-03"
],
"raw_filing_date": "03.02.2023",
"goods": "Agricultural",
"raw_goods": "Agricultural",
"states": [
"Andaman and Nicobar Islands"
],
"raw_state": "Andaman and Nicobar Islands"
}
],
"meta": {
"count": 1,
"total_matched": 684,
"attribution": "Office of the Controller General of Patents, Designs and Trade Marks, Government of India (ipindia.gov.in)"
}
}Source Attribution & Reuse
Data is ingested verbatim from IP India’s State-wise Registered GI PDF and redistributed under the IP India Copyright Policy with attribution: Office of the Controller General of Patents, Designs and Trade Marks, Government of India (ipindia.gov.in).
Machine-Readable Specifications
Download the OpenAPI 3.1 specification (/openapi.json) or the LLMs index (/llms.txt).