Skip to content
BursaryDocs

Making requests

The API answers at https://api.bursary.dev and speaks JSON. Every /v1 request needs a key, as Authentication describes.

Every response has the same outer shape. On success, data holds the answer:

{
"success": true,
"data": {},
"meta": { "requestId": "01K2...", "timestamp": "2026-08-09T00:00:00.000Z" }
}

On failure, error replaces data:

{
"success": false,
"error": { "code": 33001, "message": "..." },
"meta": { "requestId": "01K2...", "timestamp": "2026-08-09T00:00:00.000Z" }
}
  • Branch on error.code. Errors lists every code.
  • Expect error.details on some codes only. It is absent, not empty, on the others. The same page says which codes carry it.
  • Log meta.requestId. Every response has one, and support uses it to find your request.
Endpoint Does Guide
GET /v1/schools/{id} Returns one institution’s record Identifiers
GET /v1/schools/{id}/title-iv Returns every quarter of federal aid volume Reading a school record
GET /v1/schools Lists institutions by filter or name This page
GET /v1/schools/autocomplete Suggests institutions as someone types Building a school picker
POST /v1/schools/resolve Matches up to 50 full names to institutions Resolving names in batch
POST /v1/exports Issues a download link for the whole dataset Bulk snapshots
POST /corrections Reports a wrong value, with no key Reporting a correction

Endpoints has every parameter and response schema.

GET /v1/schools/{id} takes a federal identifier with its scheme, such as unitid:100654 or opeid8:00100200, or Bursary’s own id. A bare value like 100654 also works, but it can match more than one institution and answer 409. Identifiers explains the forms and when each one fails.

GET /v1/schools filters the directory and returns up to 100 rows a page, 50 by default.

Parameter Takes Tier that may use it
state A two-letter code, such as AL Developer
control An IPEDS control code Startup
level An IPEDS level code Startup
closed true or false Startup
titleIv true or false, for current Title IV participation Startup
q A name, up to 100 characters Developer

Reading a school record decodes control and level. A filter your tier cannot use answers 403 and names the tier that can.

A row carries enough to recognize an institution, plus the id to fetch the full record with. Reading a school record lists its fields.

Without q, rows come most recently changed first, then by name, and the list pages. Pass the nextCursor from one response as cursor on the next request. A null nextCursor means the last page.

With q, rows are ranked by how well a name matches, and the answer is one page. nextCursor is always null, and sending cursor with q is refused. A q too short to rank is ignored, and the list pages as if you had not sent it.

Bursary rebuilds its search index when the data changes. A cursor from before a rebuild answers 409 with institution.search_cursor_stale. Drop the cursor and start again from the first page. Retrying the same cursor never succeeds.

A 503 means the server has not loaded the index yet. Wait for the number of seconds in Retry-After and try again.