AFI Explorer API

Aggregates publication objects into a single JSON object array using Cloudflare Workers.

API Usage

You can access the live API by visiting


  • / the default path serves data for all publications


Go to the GitHub repo to clone a copy of the worker script. The use of miniflare for local development is required. After installing the module globally with npm, run the following command to start the worker:

miniflare worker.js -k STATIC_PUBS

To trigger the scheduled event that builds out the static KV data store, make an HTTP request to the miniflare engine:

curl "http://localhost:8787/.mf/scheduled"