Aller au contenu

Référentiels

Annuaire, démarches, jeux de données, jours fériés, opérateurs, banques : listes paginées et fiches.

Essayer depuis cette page

Le bouton « Essayer » appelle l'API depuis votre navigateur. Sans clé, l'appel compte dans le quota anonyme (100 appels par jour et par adresse IP) ; avec une clé dans le champ Authorization, le quota passe à 1 000. La clé reste dans votre navigateur. Obtenir une clé
GET
/v1/adresses/geocoder

Paramètres de requête

texte*string
Longueur1 <= length <= 300

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/adresses/geocoder?texte=En+face+de+la+pharmacie%2C+M%C3%A9dina%2C+Dakar"
{  "alternatives": [    {      "contexte": "Dakar Plateau, Dakar, Dakar",      "coordonnees": {        "lat": 0.1,        "lon": 0.1,        "precision": "region"      },      "id": "string",      "level": "region",      "name": "string",      "name_source": "string",      "parent_id": "string",      "population_2023": 0    }  ],  "ambigu": true,  "avertissements": [    "string"  ],  "lat": 0,  "lieu": {    "contexte": "Dakar Plateau, Dakar, Dakar",    "coordonnees": {      "lat": 0.1,      "lon": 0.1,      "precision": "region"    },    "id": "string",    "level": "region",    "name": "string",    "name_source": "string",    "parent_id": "string",    "population_2023": 0  },  "lon": 0,  "precision": "string",  "relation": "string",  "repere": "string",  "sources": [    {      "licence": "string",      "official": true,      "title": "string",      "url": "string"    }  ],  "texte": "string"}
GET
/v1/adresses/normaliser

Paramètres de requête

texte*string
Longueur1 <= length <= 300

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/adresses/normaliser?texte=En+face+de+la+pharmacie%2C+M%C3%A9dina%2C+Dakar"
{  "alternatives": [    {      "contexte": "Dakar Plateau, Dakar, Dakar",      "coordonnees": {        "lat": 0.1,        "lon": 0.1,        "precision": "region"      },      "id": "string",      "level": "region",      "name": "string",      "name_source": "string",      "parent_id": "string",      "population_2023": 0    }  ],  "ambigu": true,  "lieu": {    "contexte": "Dakar Plateau, Dakar, Dakar",    "coordonnees": {      "lat": 0.1,      "lon": 0.1,      "precision": "region"    },    "id": "string",    "level": "region",    "name": "string",    "name_source": "string",    "parent_id": "string",    "population_2023": 0  },  "lieu_id": "string",  "lieux_reconnus": [    {      "candidats": 0,      "texte": "string"    }  ],  "limites": "string",  "relation": "string",  "repere": "pharmacie Guigon",  "texte": "string"}
GET
/v1/adresses/suggestions

Paramètres de requête

q*string
Longueur2 <= length <= 100
limit?integer
Formatint64
Plage1 <= value <= 20
Par défaut10

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/adresses/suggestions?q=thies"
{  "data": [    {      "contexte": "Dakar Plateau, Dakar, Dakar",      "coordonnees": {        "lat": 0.1,        "lon": 0.1,        "precision": "region"      },      "id": "string",      "level": "region",      "name": "string",      "name_source": "string",      "parent_id": "string",      "population_2023": 0    }  ],  "sources": [    {      "licence": "string",      "official": true,      "title": "string",      "url": "string"    }  ]}

Annuaire des API et SDK

GET
/v1/annuaire

Paramètres de requête

page?integer
Formatint64
Plage1 <= value
Par défaut1
per_page?integer
Formatint64
Plage1 <= value <= 100
Par défaut20
q?string

Recherche plein texte, sans accents ni casse.

Longueur1 <= length
category?string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/annuaire"
{  "data": [    null  ],  "pagination": {    "page": 0,    "per_page": 0,    "total": 0,    "total_pages": 0  }}

Annuaire des API et SDK : une fiche

GET
/v1/annuaire/{id}

Paramètres de chemin

id*string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/annuaire/string"
null

Banques

GET
/v1/banques

Paramètres de requête

page?integer
Formatint64
Plage1 <= value
Par défaut1
per_page?integer
Formatint64
Plage1 <= value <= 100
Par défaut20
q?string

Recherche plein texte, sans accents ni casse.

Longueur1 <= length

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/banques"
{  "data": [    {      "bank_code": "K 0010 A",      "id": "k0010a",      "name": "string",      "sources": [        {          "lang": "fr",          "official": true,          "title": "string",          "url": "http://example.com",          "verifiedOn": "2019-08-24"        }      ],      "website": "http://example.com"    }  ],  "pagination": {    "page": 0,    "per_page": 0,    "total": 0,    "total_pages": 0  }}

Banques : une fiche

GET
/v1/banques/{id}

Paramètres de chemin

id*string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/banques/string"
{  "bank_code": "K 0010 A",  "id": "k0010a",  "name": "string",  "sources": [    {      "lang": "fr",      "official": true,      "title": "string",      "url": "http://example.com",      "verifiedOn": "2019-08-24"    }  ],  "website": "http://example.com"}

Catégories de l'annuaire

GET
/v1/categories

Paramètres de requête

page?integer
Formatint64
Plage1 <= value
Par défaut1
per_page?integer
Formatint64
Plage1 <= value <= 100
Par défaut20
q?string

Recherche plein texte, sans accents ni casse.

Longueur1 <= length

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/categories"
{  "data": [    null  ],  "pagination": {    "page": 0,    "per_page": 0,    "total": 0,    "total_pages": 0  }}

Catégories de l'annuaire : une fiche

GET
/v1/categories/{id}

Paramètres de chemin

id*string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/categories/string"
null
DELETE
/v1/compte

Autorisation

session
better-auth.session_token<token>

Session ouverte à la connexion au tableau de bord.

Dans: cookie

Corps de la requête

application/json

Définitions TypeScript

Utilisez le type request body en TypeScript.

Corps de la réponse

application/json

curl -X DELETE "https://example.com/v1/compte" \  -H "Content-Type: application/json" \  -d '{}'
Vide
GET
/v1/compte/export

Autorisation

session
better-auth.session_token<token>

Session ouverte à la connexion au tableau de bord.

Dans: cookie

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/compte/export"
{  "property1": null,  "property2": null}
GET
/v1/demandes

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/demandes"
{  "data": [    {      "created_at": "2019-08-24T14:15:22Z",      "details": "string",      "id": "string",      "kind": "api",      "note": "string",      "status": "ouverte",      "title": "string",      "voted": true,      "votes": 0    }  ]}
POST
/v1/demandes

Autorisation

session
better-auth.session_token<token>

Session ouverte à la connexion au tableau de bord.

Dans: cookie

Corps de la requête

application/json

Définitions TypeScript

Utilisez le type request body en TypeScript.

Corps de la réponse

application/json

application/json

curl -X POST "https://example.com/v1/demandes" \  -H "Content-Type: application/json" \  -d '{    "kind": "api",    "title": "string"  }'
{  "created_at": "2019-08-24T14:15:22Z",  "details": "string",  "id": "string",  "kind": "api",  "note": "string",  "status": "ouverte",  "title": "string",  "voted": true,  "votes": 0}

Retirer son vote (idempotent)

DELETE
/v1/demandes/{id}/vote

Autorisation

session
better-auth.session_token<token>

Session ouverte à la connexion au tableau de bord.

Dans: cookie

Paramètres de chemin

id*string

Corps de la réponse

application/json

application/json

curl -X DELETE "https://example.com/v1/demandes/string/vote"
{  "created_at": "2019-08-24T14:15:22Z",  "details": "string",  "id": "string",  "kind": "api",  "note": "string",  "status": "ouverte",  "title": "string",  "voted": true,  "votes": 0}

Voter pour une demande (idempotent)

PUT
/v1/demandes/{id}/vote

Autorisation

session
better-auth.session_token<token>

Session ouverte à la connexion au tableau de bord.

Dans: cookie

Paramètres de chemin

id*string

Corps de la réponse

application/json

application/json

curl -X PUT "https://example.com/v1/demandes/string/vote"
{  "created_at": "2019-08-24T14:15:22Z",  "details": "string",  "id": "string",  "kind": "api",  "note": "string",  "status": "ouverte",  "title": "string",  "voted": true,  "votes": 0}

Démarches réglementaires

GET
/v1/demarches

Paramètres de requête

page?integer
Formatint64
Plage1 <= value
Par défaut1
per_page?integer
Formatint64
Plage1 <= value <= 100
Par défaut20
q?string

Recherche plein texte, sans accents ni casse.

Longueur1 <= length

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/demarches"
{  "data": [    null  ],  "pagination": {    "page": 0,    "per_page": 0,    "total": 0,    "total_pages": 0  }}

Démarches réglementaires : une fiche

GET
/v1/demarches/{id}

Paramètres de chemin

id*string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/demarches/string"
null
GET
/v1/invitations/{token}

Paramètres de chemin

token*string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/invitations/string"
{  "email_masked": "f***@example.test",  "expires_at": "2019-08-24T14:15:22Z",  "project_name": "string",  "role": "admin",  "status": "pending"}
POST
/v1/invitations/{token}/accepter

Autorisation

session
better-auth.session_token<token>

Session ouverte à la connexion au tableau de bord.

Dans: cookie

Paramètres de chemin

token*string

Corps de la réponse

application/json

application/json

curl -X POST "https://example.com/v1/invitations/string/accepter"
{  "project_id": "string",  "role": "admin"}
GET
/v1/jeux

Paramètres de requête

page?integer
Formatint64
Plage1 <= value
Par défaut1
per_page?integer
Formatint64
Plage1 <= value <= 100
Par défaut20
q?string

Recherche plein texte, sans accents ni casse.

Longueur1 <= length
status?string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/jeux"
{  "data": [    null  ],  "pagination": {    "page": 0,    "per_page": 0,    "total": 0,    "total_pages": 0  }}
GET
/v1/jeux/{id}

Paramètres de chemin

id*string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/jeux/string"
null

Jours fériés du Sénégal

GET
/v1/jours-feries

Paramètres de requête

page?integer
Formatint64
Plage1 <= value
Par défaut1
per_page?integer
Formatint64
Plage1 <= value <= 100
Par défaut20
q?string

Recherche plein texte, sans accents ni casse.

Longueur1 <= length
type?string
date_status?string
year?string
Motif^\d{4}$

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/jours-feries"
{  "data": [    {      "date": "2019-08-24",      "date_status": "confirmee",      "id": "2026-nouvel-an",      "name": {        "en": "New Year's Day",        "fr": "Jour de l'an"      },      "sources": [        {          "lang": "fr",          "official": true,          "title": "string",          "url": "http://example.com",          "verifiedOn": "2019-08-24"        }      ],      "type": "civile"    }  ],  "pagination": {    "page": 0,    "per_page": 0,    "total": 0,    "total_pages": 0  }}

Jours fériés du Sénégal : une fiche

GET
/v1/jours-feries/{id}

Paramètres de chemin

id*string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/jours-feries/string"
{  "date": "2019-08-24",  "date_status": "confirmee",  "id": "2026-nouvel-an",  "name": {    "en": "New Year's Day",    "fr": "Jour de l'an"  },  "sources": [    {      "lang": "fr",      "official": true,      "title": "string",      "url": "http://example.com",      "verifiedOn": "2019-08-24"    }  ],  "type": "civile"}

Modules du hub

GET
/v1/modules

Paramètres de requête

page?integer
Formatint64
Plage1 <= value
Par défaut1
per_page?integer
Formatint64
Plage1 <= value <= 100
Par défaut20
q?string

Recherche plein texte, sans accents ni casse.

Longueur1 <= length
status?string
form?string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/modules"
{  "data": [    null  ],  "pagination": {    "page": 0,    "per_page": 0,    "total": 0,    "total_pages": 0  }}

Modules du hub : une fiche

GET
/v1/modules/{id}

Paramètres de chemin

id*string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/modules/string"
null

Préfixes des opérateurs de téléphonie

GET
/v1/operateurs

Paramètres de requête

page?integer
Formatint64
Plage1 <= value
Par défaut1
per_page?integer
Formatint64
Plage1 <= value <= 100
Par défaut20
q?string

Recherche plein texte, sans accents ni casse.

Longueur1 <= length
operator?string
type?string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/operateurs"
{  "data": [    {      "id": "30",      "operator": "Expresso Sénégal",      "prefix": "30",      "sources": [        {          "lang": "fr",          "official": true,          "title": "string",          "url": "http://example.com",          "verifiedOn": "2019-08-24"        }      ],      "type": "fixe"    }  ],  "pagination": {    "page": 0,    "per_page": 0,    "total": 0,    "total_pages": 0  }}
GET
/v1/operateurs/{id}

Paramètres de chemin

id*string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/operateurs/string"
{  "id": "30",  "operator": "Expresso Sénégal",  "prefix": "30",  "sources": [    {      "lang": "fr",      "official": true,      "title": "string",      "url": "http://example.com",      "verifiedOn": "2019-08-24"    }  ],  "type": "fixe"}

Mes projets (20 au plus)

GET
/v1/projets

Autorisation

session
better-auth.session_token<token>

Session ouverte à la connexion au tableau de bord.

Dans: cookie

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/projets"
{  "data": [    {      "created_at": "2019-08-24T14:15:22Z",      "id": "string",      "name": "string",      "slug": "string"    }  ],  "limit": 0}
POST
/v1/projets

Autorisation

session
better-auth.session_token<token>

Session ouverte à la connexion au tableau de bord.

Dans: cookie

Corps de la requête

application/json

Définitions TypeScript

Utilisez le type request body en TypeScript.

Corps de la réponse

application/json

application/json

curl -X POST "https://example.com/v1/projets" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "created_at": "2019-08-24T14:15:22Z",  "id": "string",  "name": "string",  "slug": "string"}

Secteurs « Que construisez-vous ? »

GET
/v1/secteurs

Paramètres de requête

page?integer
Formatint64
Plage1 <= value
Par défaut1
per_page?integer
Formatint64
Plage1 <= value <= 100
Par défaut20
q?string

Recherche plein texte, sans accents ni casse.

Longueur1 <= length

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/secteurs"
{  "data": [    null  ],  "pagination": {    "page": 0,    "per_page": 0,    "total": 0,    "total_pages": 0  }}
GET
/v1/secteurs/{id}

Paramètres de chemin

id*string

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/secteurs/string"
null
GET
/v1/telechargements

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/telechargements"
{  "data": [    {      "jeu": "banques",      "ouvertures": 0,      "telechargements": 0    }  ]}
POST
/v1/telechargements/{jeu}

Paramètres de chemin

jeu*string

Identifiant du jeu (catalogue /v1/jeux).

Paramètres de requête

type?string
Par défaut"telechargement"

Valeurs possibles

  • "telechargement"
  • "ouverture"

Corps de la réponse

application/json

curl -X POST "https://example.com/v1/telechargements/banques"
Vide
GET
/v1/webhook-event-types

Corps de la réponse

application/json

application/json

curl -X GET "https://example.com/v1/webhook-event-types"
[  {    "label_en": "string",    "label_fr": "string",    "product": "payments",    "type": "string"  }]