Course Finder API: the guide for partners

What this is

The Course Finder API for partners. It is read only.

Your address

Every call goes to https://api-coursefinder.vidhyamarg.com/api/v1/...

Your keys

There are two kinds of key.

Send the key as Authorization: Bearer <key> on every request, never in the address.

A key that was ever put in an address, a log, a chat or a public page must be treated as leaked: ask us to revoke it and issue a new one.

What you can call

Five routes. The examples use invented values, and the answers are shortened.

The program list

/api/v1/programs, 20 programs a page, at most 50 pages. Its filters:

Example request:

GET /api/v1/programs?stem=true&page=2
Authorization: Bearer <key>

Answer:

{
  "data": [
    {
      "public_id": "Ab12Cd34Ef56",
      "name": "Example Program",
      ...
    }
  ],
  "meta": {
    "page": 2,
    "per_page": 20,
    "total": 25,
    "total_capped": false
  }
}

A program

/api/v1/programs/<public_id>

Example request:

GET /api/v1/programs/Ab12Cd34Ef56
Authorization: Bearer <key>

Answer:

{
  "data": {
    "public_id": "Ab12Cd34Ef56",
    "name": "Example Program",
    ...
  }
}

A university

/api/v1/universities/<public_id>

Example request:

GET /api/v1/universities/Zy98Xw76Vu54
Authorization: Bearer <key>

Answer:

{
  "data": {
    "public_id": "Zy98Xw76Vu54",
    "name": "Example University",
    ...
  }
}

The lookups

/api/v1/lookups: the countries, study levels, study areas, disciplines and currencies the filters take.

Example request:

GET /api/v1/lookups
Authorization: Bearer <key>

Answer:

{
  "data": {
    "countries": [
      {
        "name": "Example Land",
        "slug": "example-land"
      }
    ],
    ...
  }
}

The university picker

/api/v1/universities?q=, with the parameters q and country.

Example request:

GET /api/v1/universities?q=example
Authorization: Bearer <key>

Answer:

{
  "data": [
    {
      "public_id": "Zy98Xw76Vu54",
      "name": "Example University",
      ...
    }
  ]
}

What your account includes

Your account may cover only some countries, study levels or universities, and may leave out some groups of fields: Fees, Scholarships, Entry requirements, Rankings, Intakes.

Limits

Answers

An error answer's body has this shape, details only when there are any:

{
  "error": {
    "code": "validation_failed",
    "message": "...",
    "details": { ... }
  }
}

A 413, or another answer that is not this JSON, comes from the front door: send a smaller request, or wait a minute.

Calling from a browser

Changes

/api/v1 only gains things. A breaking change would come as /api/v2, with notice.