tradeNAIRA Rates API

Naira rates that are always current, on your own website.

The same database that powers this site – official and parallel USD/NGN plus GBP, EUR and CAD, refreshed every day and reaching back to 2000 – served as clean JSON. Built for e-commerce checkouts that price in naira, invoicing tools, remittance comparisons, dashboards and finance blogs that never want a stale rate again.

Two endpoints. No key needed while in beta.

Plain HTTPS GET, JSON out, CORS-open. Free during beta with a visible link back to tradeNAIRA; message us on WhatsApp for commercial volume, SLAs or webhooks.

GEThttps://tradenaira.com/wp-json/tn/v1/rates

Today’s rates: official and parallel USD/NGN plus GBP, EUR and CAD per naira, the service rate with margin, and the timestamp they were last refreshed.

GEThttps://tradenaira.com/wp-json/tn/v1/history?from=2015-01-01&to=2026-01-01

Dated history rows (official, parallel, GBP, EUR, CAD) between any two dates, back to 2000. Dates we have not verified yet are simply absent or null – we never invent a number.

Drop-in example

// convert a $ price to naira at today's rate
const r = await fetch("https://tradenaira.com/wp-json/tn/v1/rates").then(x => x.json());
const naira = 49.99 * r.official.USD;   // e.g. product priced in USD
const street = 49.99 * (r.parallel ? r.parallel.USD : r.official.USD);
elem.textContent = "₦" + Math.round(naira).toLocaleString();
curl -s "https://tradenaira.com/wp-json/tn/v1/history?from=2024-01-01&to=2024-12-31"

Who plugs this in

E-commerce & SaaS

Show naira prices next to USD at checkout, re-priced daily without a deploy. Fewer abandoned carts from rate shock.

Invoicing & payroll

Bill clients or pay contractors with a defensible, dated rate – and a history endpoint to justify any past invoice.

Media & analysts

Embed charts and tables that update themselves, with both markets side by side back to 2000.

Figures are indicative reference rates for information, not an offer to transact. Beta service: no uptime guarantee yet – tell us on WhatsApp what you are building and we will look after you.