1. Services
  2. Schools

School directory API

Find a school by name, country, type, region or city. Every country shares one set of fields, and anything that exists in only one country sits under local.

GET /v1/schools1 creditAbout $0.001

Try it

GET/v1/schools
curl 'https://api.apifor.dev/v1/schools?country=FR&q=lebesgue' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "success": true,
  "data": [
    {
      "id": "FR-0600479V",
      "country_code": "FR",
      "name": "Ecole maternelle Ph. Lebesgue",
      "type": "Ecole",
      "status": "open",
      "address": "1 rue Philéas Lebesgue",
      "city": "Compiègne",
      "region": "Hauts-de-France",
      "postal_code": "60200",
      "lat": 49.407621397289205,
      "lng": 2.8016199244621727,
      "phone": "0344230069",
      "website": null,
      "updated_at": "2026-11-30",
      "local": {
        "country": "FR",
        "uai": "0600479V",
        "sector": "Public",
        "nature": "ECOLE MATERNELLE",
        "department": "Oise",
        "academy": "Amiens",
        "commune_code": "60159",
        "tracks": [
          "ecole_maternelle"
        ],
        "priority_education": null,
        "siret": null,
        "opened": null
      }
    }
  ],
  "meta": {
    "total": 1,
    "page": 1,
    "limit": 50,
    "total_pages": 1,
    "coverage": [
      "ID",
      "CA"
    ],
    "attribution": {
      "source": "https://www.statcan.gc.ca/en/lode/databases/odef",
      "licence": "Open Government Licence - Canada",
      "license": "Open Government Licence - Canada",
      "license_url": "https://www.statcan.gc.ca/en/lode/databases/odef",
      "source_url": "https://www.statcan.gc.ca/en/lode/databases/odef",
      "attribution_page": "https://apifor.dev/sources",
      "notice": "Source: Statistics Canada ODEF v2.1."
    },
    "sources": [
      {
        "country": "FR",
        "name": "Statistics Canada ODEF v2.1",
        "url": "https://www.statcan.gc.ca/en/lode/databases/odef",
        "licence": "Open Government Licence - Canada"
      }
    ]
  }
}

A real response from our OpenAPI file, with long lists and strings shortened.

Endpoints and price

EndpointCreditsAbout
GET /v1/schools1 credit$0.001
GET /v1/schools/{id}1 credit$0.001
GET /v1/schools/coverage (Free)Free$0

USD at Starter pack prices ($5 for 5,000 credits). Calls that fail before work starts are refunded.

Coverage today

Canada, France, Indonesia and Singapore.

Leave country out to get every covered country, or pass one to narrow it.

Sources, row counts and country-only fields per country: GET /v1/schools/coverage, free with your API key. How coverage works

Limits

  • Name search needs 2 to 100 characters.
  • type is written as the source writes it.
  • Up to 200 rows per page, 10,000 rows deep.

Questions

What happened to the schools dataset?

It is now this service, at the same path and the same 1 credit per call. Existing rows keep their ids and fields.

What does an id look like?

A country prefix and the source's own code, for example FR-0600479V. Rows that were in the old dataset keep their old ids.

Related services

All services