France Lycée Social Index API
The social position index (IPS) of each French lycée for the 2022-2023 school year: general and technological, vocational and combined index, pupil numbers and spread, with the school, 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.
Data from data.education.gouv.fr/explore/dataset/fr-en-ips-lycees-ap2022/
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/france-lycee-social-index/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"academy":"LYON"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
16 fields: 14 here, 2 technical ones under Technical details.
Basics
- Academy name
Example LYON
- Department name
Example AIN
- School name
Example LYCEE PROFESSIONNEL ALEXANDRE BERARD LYCEE DES METIERS DE L ENERGIE ET DE L HABITAT
- INSEE commune code
Example 01004
- Commune name
Example AMBERIEU EN BUGEY
- Sector
public or private.
Example public
- School type
Kind of lycée: general and technological, vocational or both.
Example LP
- Students
Pupils in both tracks.
Example 583
- Social index
Social position index, both tracks combined (higher means a more advantaged intake).
Example 91.5
- Social index general
Index for the general and technological track.
Example 99.2
- Social index vocational
Index for the vocational track.
Example 91.5
- Std dev general
Spread of the index, general and technological track.
Example 33.3
- Std dev vocational
Spread of the index, vocational track.
Example 27.2
Dates
- Year
School year, such as 2022-2023.
Example 2022-2023
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
idThe school's UAI code. - 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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
year | text | Year | 3 of 3 |
academy | text | Academy name | 3 of 3 |
department | text | Department name | 3 of 3 |
school_id | text | School ID (hidden) | 3 of 3 |
name | text | School name | 3 of 3 |
commune_code | text | INSEE commune code | 3 of 3 |
commune | text | Commune name | 3 of 3 |
sector | text | Sector | 3 of 3 |
school_type | text | School type | 3 of 3 |
students | number | Students | 3 of 3 |
social_index | number | Social index | 3 of 3 |
social_index_general | number | Social index general | 2 of 3 |
social_index_vocational | number | Social index vocational | 2 of 3 |
std_dev_general | number | Std dev general | 2 of 3 |
std_dev_vocational | number | Std dev vocational | 2 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | School name | Academy name | Department name | INSEE commune code | Commune name | Sector | School type | Students | Social index | Social index general | Social index vocational | Std dev general | Std dev vocational | Year |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | LYCEE PROFESSIONNEL ALEXANDRE BERARD LYCEE DES METIERS DE L ENERGIE ET DE L HABITAT | LYON | AIN | 01004 | AMBERIEU EN BUGEY | public | LP | 583 | 91.5 | — | 91.5 | — | 27.2 | 2022-2023 |
| 2 | LYCEE POLYVALENT SAINT EXUPERY LYCEE DES METIERS DE L HOTELLERIE ET DES SERVICES LYCEE DES METIERS DES ENERGIES DU BATIMENT | LYON | AIN | 01033 | VALSERHONE | public | LPO | 890 | 93.6 | 99.2 | 84.2 | 33.3 | 24.8 | 2022-2023 |
| 3 | LYCEE GENERAL ET TECHNOLOGIQUE DU BUGEY | LYON | AIN | 01034 | BELLEY | public | LEGT | 652 | 108.7 | 108.7 | — | 33.5 | — | 2022-2023 |
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.
- Data is the French Ministry of Education open data (Etalab open licence): credit "Ministère de l'Éducation nationale" when you republish it.
- Covers one school year (2022-2023) and about 3,600 lycées; it changes only when the ministry publishes a new year.
- Schools without a general-technological or vocational track have no index for that track (empty field).
- Filter names must be written in capitals as the ministry does, for example LYON and AIN.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.