Developers

Build on the data. Watch it ship.

The public API behind lokoja.app, and the running log of every release to the platform — the same transparency we ask of Nigeria's food markets, applied to ourselves.

Base URL

https://api.lokoja.app

JSON over HTTPS. No key required for the public endpoints below. Data refreshes automatically — prices monthly per source cadence, the diesel-indexed haulage layer weekly.

Price series public

GET /price-series?commodity=Maize&months=13

Recent price history for one commodity across all covered markets — per-market monthly medians in ₦ per tonne. Commodities: Beans, Gari, Maize, Maize flour, Onions, Rice, Sorghum, Yam. This endpoint powers every page under lokoja.app/prices.

runs live, trimmed to 3 months for readability

    

Haulage summary public

GET /haulage-summary

The headline road-haulage rate (₦ per tonne-km), the current diesel index against the baseline, and a representative set of real corridors with modelled transport cost per tonne. Powers lokoja.app/haulage.

computes the corridor set live — can take up to ~30 seconds

    

Dataset metadata public

GET /meta

Covered commodities, available periods, and data-source information.


    
Fair use: the public endpoints are free for evaluation, research and journalism with attribution to Lokoja Intelligence. They are rate-limited in spirit — be gentle — and availability isn't guaranteed for production dependence.

Full data access

The complete engine — corridor-level opportunity tables, market-pair cost breakdowns, demand signals, and query access — is available under commercial data plans with an API key, SLA, and a signed data-quality schedule. Write to hello@lokoja.app.

2026-08-18 · 14:20 UTC

Interactive API explorer & timestamped releases

The endpoints on this page can now be run live in the browser — pick a commodity, press “Try it”, and see the real JSON response. Release entries carry full UTC timestamps, since some days ship more than once.

2026-08-18 · 13:45 UTC

Developers page & unified careers listing

This page — public API reference and release log. The careers page now lists one Market Ambassador role across three markets, with the market chosen at application time.

2026-08-17 · 17:52 UTC

Assistant understands 180+ Nigerian towns

Ask about a town we don't cover — Kabba, Okene, Wukari — and the WhatsApp assistant now answers from the nearest covered market with the distance, instead of giving up. Follow-up questions keep the conversation's context, and typos are tolerated.

2026-08-17 · 16:52 UTC

Production WhatsApp launch

The assistant moved from sandbox to a production WhatsApp Business number (+234 816 085 2507). Every button on the site now opens a chat with the question pre-typed, and ambassadors get scan-to-join QR codes with attribution built in.

2026-08-16 · 17:23 UTC

Garri, spelled properly

The dataset says “Gari”; Nigeria says “Garri”. All 68 garri pages, titles and the assistant's replies now use the right spelling — old links redirect permanently.

2026-08-14 · 18:38 UTC

Console sessions that survive refresh

The client console (console.lokoja.app) keeps you signed in across refreshes and revisits via secure session tokens, with named navigation and role-based pages.

2026-08-14 · 17:31 UTC

api.lokoja.app + access tiers

The engine moved to its own domain with a public tier (price series, haulage summary) and a keyed commercial tier (opportunity tables, corridor detail, demand signals).

2026-08-14 · 16:59 UTC

Corridor haulage index

Launched lokoja.app/haulage: road transport cost per tonne on real corridors, re-indexed weekly against the national diesel price with zonal shading — to our knowledge the only public corridor haulage index for Nigerian food commodities.

2026-08-14 · 04:00 UTC

Search-engine plumbing

Fixed the redirect chain that blocked Google indexing, wired IndexNow push-indexing for Bing, and shipped structured data across the site.

2026-08-13 · 03:57 UTC

Careers & ambassador programme

In-house applications with CV upload, and the Market Ambassador attribution system: personal onboarding codes, automatic usage-based performance metrics, first-touch attribution.

2026-08-12 · 02:08 UTC

544 price pages, self-refreshing

Programmatic pages for every commodity–market pair we cover, with 12-month histories in trader units — rebuilt automatically every month from the live engine.

2026-06-24 · 22:44 UTC

Engine, assistant & console

The foundation: the arbitrage engine computing net-of-haulage corridor economics from World Bank RTFP and WFP data, the five-language WhatsApp assistant, and the client intelligence console.