API

Public API

Comic Sans Frontières provides a public REST API, no authentication required, to access project data. Data is licensed under CC BY-NC-SA 4.0.

Available endpoints

GET /wp-json/csf/v1/stats

Returns global project statistics: number of occurrences, number of countries, total distance in kilometers.

{
  "count": 408,
  "countries": 17,
  "km": 316293
}

GET /wp-json/csf/v1/markers

Returns the complete list of geolocated occurrences. Each marker includes: title, location, GPS coordinates (lat/lng), business sector, category, color, icon, thumbnail image, and Google Maps link.

Usage

The API is freely accessible from any HTTP client. Example with curl:

curl https://comicsansfrontieres.fr/wp-json/csf/v1/stats
curl https://comicsansfrontieres.fr/wp-json/csf/v1/markers

Responses are in JSON format. No rate limiting enforced, but please be reasonable.