Skip to content
BursaryDocs

Suggest institutions for a partial name

GET
/v1/schools/autocomplete
curl --request GET \
--url 'https://api.bursary.dev/v1/schools/autocomplete?limit=10' \
--header 'x-api-key: <x-api-key>'

Ranks institutions against a fragment — a prefix, an acronym, or a few words — for a school picker. Matches against every name an institution is known by, not only its official one, and reports which name matched so a picker can render the distinction.

Takes the same filters as GET /v1/schools — state, control, level, closed, and titleIv — and needs q or at least one of them. With q the suggestions are ranked by match, best first; with filters alone they come in the list order, most recently changed first. One page, never a cursor.

Unmetered on every tier. What the tier decides is fields, not calls: the matched string itself is returned only when it is the official name. A publishable key is answered as Startup at most — fields, filters, and order — whatever the organization pays for. A 503 means the index is not loaded yet, and Retry-After says when to ask again.

q
string
<= 100 characters
state
string
>= 2 characters <= 2 characters
control
integer | null
>= -32768 <= 32767
level
integer | null
>= -32768 <= 32767
closed
string
titleIv
string
limit
integer
default: 10 >= 1 <= 20

Ranked suggestions, best first

Media typeapplication/json
object
success
required
boolean
data
required
object
schools
required
Array<object>
object
id
required
string format: uuid
name
required
string
city
required
string | null
state
required
string | null
unitid
required
string | null
address
required
string | null
phone
required
string | null
/^\+1\d{10}$/
phoneExtension
required
string | null
website
required
string | null format: uri
logoUrl
required
string | null format: uri
faviconUrl
required
string | null format: uri
matchedName
required
string | null
matchedType
required
string | null
Allowed values: official acronym nickname former dba system misspelling alias
score
required
number | null
meta
required
object
requestId
required
string
timestamp
required
string format: date-time

Examples

ExampleSuggestions for a partial name
{
"success": true,
"data": {
"schools": [
{
"id": "019fd39c-0098-7070-9cc9-359d3ed6ce29",
"name": "Alabama A & M University",
"city": "Normal",
"state": "AL",
"unitid": "100654",
"address": "4900 Meridian Street",
"phone": "+12563725000",
"phoneExtension": null,
"website": "https://www.aamu.edu/",
"logoUrl": null,
"faviconUrl": null,
"matchedName": null,
"matchedType": "acronym",
"score": 1
}
]
},
"meta": {
"requestId": "ray-1",
"timestamp": "2026-08-07T00:00:00.000Z"
}
}

The request could not be read

Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
integer
message
required
string
details
object
key
additional properties
meta
required
object
requestId
required
string
timestamp
required
string format: date-time

Example

{
"success": false
}

No usable credential was presented

Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
integer
message
required
string
details
object
key
additional properties
meta
required
object
requestId
required
string
timestamp
required
string format: date-time

Example

{
"success": false
}

The credential does not permit this

Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
integer
message
required
string
details
object
key
additional properties
meta
required
object
requestId
required
string
timestamp
required
string format: date-time

Example

{
"success": false
}

No such resource

Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
integer
message
required
string
details
object
key
additional properties
meta
required
object
requestId
required
string
timestamp
required
string format: date-time

Example

{
"success": false
}

The request is ambiguous or conflicts with existing state

Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
integer
message
required
string
details
object
key
additional properties
meta
required
object
requestId
required
string
timestamp
required
string format: date-time

Example

{
"success": false
}

The request body is not a media type this route declares

Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
integer
message
required
string
details
object
key
additional properties
meta
required
object
requestId
required
string
timestamp
required
string format: date-time

Example

{
"success": false
}

The request was read and failed validation

Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
integer
message
required
string
details
object
key
additional properties
meta
required
object
requestId
required
string
timestamp
required
string format: date-time

Example

{
"success": false
}

Too many requests. Retry-After says how long to wait

Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
integer
message
required
string
details
object
key
additional properties
meta
required
object
requestId
required
string
timestamp
required
string format: date-time

Example

{
"success": false
}

Something failed on our side

Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
integer
message
required
string
details
object
key
additional properties
meta
required
object
requestId
required
string
timestamp
required
string format: date-time

Example

{
"success": false
}

The search index is not loaded yet. Retry-After says when the next load is attempted

Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
integer
message
required
string
details
object
key
additional properties
meta
required
object
requestId
required
string
timestamp
required
string format: date-time

Example

{
"success": false
}