France Brevet Results by School API

Brevet exam results for each French collège and year from 2010 to 2021: candidates, passes, pass rate and the share of passes with a distinction, with the school, its sector, commune, department and academy.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 16 fieldsv1.0

Data from data.education.gouv.fr/explore/dataset/fr-en-dnb-par-etablissement/

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Exam yearoptional
Exam year, for example 2021 (the source currently runs 2010 to 2021).
Example: 2021
Sectoroptional
Only public (PUBLIC) or private (PRIVE) schools.
Communeoptional
INSEE commune code, for example 36034.
Example: 36034
Departmentoptional
Department name in capitals, for example INDRE.
Academyoptional
Academy name in capitals, for example ORLEANS-TOURS.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/france-brevet-results/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/france-brevet-results/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"exam_year":"2021"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

exam_yeartext
Exam year, for example 2021 (the source currently runs 2010 to 2021).
example: 2021
sectortext
Only public (PUBLIC) or private (PRIVE) schools.
one of: PUBLIC, PRIVE
communetext
INSEE commune code, for example 36034.
example: 36034
departmenttext
Department name in capitals, for example INDRE.
academytext
Academy name in capitals, for example ORLEANS-TOURS.

What's in each record

16 fields: 14 here, 2 technical ones under Technical details.

Basics

  • Session

    Exam year.

    Example 2,021

  • School name

    Example ALEXANDRE BERARD

  • Type

    Kind of school, such as COLLEGE.

    Example LYCEE PROFESSIONNEL

  • Sector

    PUBLIC or PRIVE.

    Example PUBLIC

  • INSEE commune code

    Example 01004

  • Commune name

    Example AMBERIEU-EN-BUGEY

  • Department name

    Example AIN

  • Academy name

    Example LYON

  • Enrolled

    Students registered for the exam.

    Example 24

  • Candidates

    Students who sat the exam.

    Example 24

  • Passed

    Students who passed.

    Example 21

  • Pass rate

    Pass rate in percent, as the ministry gives it.

    Example 87.5%

  • Mention rate

    Percent of passing students with a distinction.

    Example 85.7%

Location

  • Region name

    Example AUVERGNE-RHONE-ALPES

Technical detailsField names and types for developers, and the 2 fields hidden above

Hidden by default

These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • ID idExam year and school id joined by a dash.
  • School ID school_idThe school's UAI code.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
sessionnumberSession3 of 3
school_idtextSchool ID (hidden)3 of 3
nametextSchool name3 of 3
typetextType3 of 3
sectortextSector3 of 3
communetextINSEE commune code3 of 3
commune_nametextCommune name3 of 3
departmenttextDepartment name3 of 3
academytextAcademy name3 of 3
regiontextRegion name3 of 3
enrollednumberEnrolled3 of 3
candidatesnumberCandidates3 of 3
passednumberPassed3 of 3
pass_ratenumberPass rate3 of 3
mention_ratenumberMention rate3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordSchool nameSessionTypeSectorINSEE commune codeCommune nameDepartment nameAcademy nameEnrolledCandidatesPassedPass rateMention rateRegion name
1ALEXANDRE BERARD2,021LYCEE PROFESSIONNELPUBLIC01004AMBERIEU-EN-BUGEYAINLYON24242187.5%85.7%AUVERGNE-RHONE-ALPES
2SAINT-EXUPERY2,021COLLEGEPUBLIC01004AMBERIEU-EN-BUGEYAINLYON20920615374.3%83%AUVERGNE-RHONE-ALPES
3ROGER POULNARD2,021COLLEGEPUBLIC01025BAGE-DOMMARTINAINLYON14114113092.2%73.8%AUVERGNE-RHONE-ALPES

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Data is the French Ministry of Education open data (Etalab open licence): credit "Ministère de l'Éducation nationale" when you republish it.
  • The ministry file currently ends with the 2021 exam session; years after that are not in it until the ministry adds them.
  • At most 10,000 records per run (the source refuses deeper paging); narrow with session, sector or commune to go further.
  • mention_rate is the share of passing students who got a distinction (assez bien, bien or très bien); it is empty when nobody passed.

Version history

A run uses the live version unless the request names another one with version.