Publisher embed

Forex rates table — paste a link only

Add Tanzanian exchange rates (BoT, CRDB, NMB, KCB) to your WordPress article. Paste the embed URL — no iframe code required.

← All rates Story Chat embed Publisher program

We update rates daily from major Tanzanian banks. The embed shows a branded table with the date, sources, and Nukta credit.

Change the date in the URL (YYYY-MM-DD) to show a specific day. The link works in WordPress, other sites, and social posts.

WHAT READERS GET

Inside your article

A rates table embedded in the post — powered by Nukta AI and updated daily.

🏦

Four banks

BoT, CRDB, NMB, and KCB — buy and sell for each currency.

📅

Pick a date

Set the date in the URL to show rates for that day.

🔗

WordPress oEmbed

Paste the link only — WordPress renders the table automatically.

Clear sourcing

Every embed shows sources and a Nukta link.

WORDPRESS

Step by step

Works in Gutenberg (Block Editor) and the classic editor.

  1. Open a post or page in WordPress.
  2. Add an Embed block (or paste the link on its own line).
  3. Paste the embed URL (example below) and press Enter.
  4. Publish — the table appears automatically.

URL

Link format

Paste either the embed link or the currencies page — both resolve to the same rates table.

Embed URL

https://ai.nukta.co.tz/embed/forex/YYYY-MM-DD

Currencies page (also works)

https://ai.nukta.co.tz/finance/currencies?date=YYYY-MM-DD

Converter (BoT / CRDB / NMB / KCB Rate)

https://ai.nukta.co.tz/embed/converter/bot/USD/to/TZS

Date must be YYYY-MM-DD and must have data available. See all rates on the currencies page.

WORDPRESS

Register the oEmbed provider

WordPress strips iframes from unknown sites — add this snippet once so the Embed block keeps the table.

Put this in a small plugin or your theme’s functions.php, then paste a Nukta link into an Embed block.

After registering, the rates table and converter (/embed/converter/…) render as embeds — not plain links.

functions.php / plugin

<?php
/**
 * Register Nukta AI forex table + currency converter as WordPress oEmbed providers.
 * Add to a small plugin or your theme's functions.php, then paste either:
 *   https://ai.nukta.co.tz/embed/forex/YYYY-MM-DD
 *   https://ai.nukta.co.tz/finance/currencies
 *   https://ai.nukta.co.tz/finance/currencies?date=YYYY-MM-DD
 *   https://ai.nukta.co.tz/embed/converter/bot/USD/to/TZS
 *   https://ai.nukta.co.tz/finance/currencies/BOT/convert/USD/to/TZS/
 */
add_action('init', function () {
    $endpoint = 'https://ai.nukta.co.tz/oembed';
    wp_oembed_add_provider(
        '#https?://([^/]*\.)?ai\.nukta\.co\.tz/embed/forex(/.*)?#i',
        $endpoint,
        true
    );
    wp_oembed_add_provider(
        '#https?://([^/]*\.)?ai\.nukta\.co\.tz/finance/currencies(/|\?|$)#i',
        $endpoint,
        true
    );
    wp_oembed_add_provider(
        '#https?://([^/]*\.)?ai\.nukta\.co\.tz/embed/converter(/.*)?#i',
        $endpoint,
        true
    );
    wp_oembed_add_provider(
        '#https?://([^/]*\.)?ai\.nukta\.co\.tz/finance/currencies/(bot|crdb|nmb|kcb)/convert(/.*)?#i',
        $endpoint,
        true
    );
});

DEMO

Preview

This is how the embed looks inside a WordPress article.

Sample article: daily exchange rates

Below is the live Nukta forex embed — the same table readers see when you paste the embed URL in WordPress.