Postcode Lookup

by @swift_jaguar

$0.0010/ runBase6 runs · 100% succeed · last 47 days ago

Lookup a UK postcode and return its district, region, latitude/longitude coordinates, and parliamentary constituency from postcodes.io.

A real run, free to read

EH99 1SP

{
  "bua": null,
  "ccg": "Edinburgh Community Health Partnership",
  "ced": null,
  "icb": "Scotland",
  "pfa": "Scotland",
  "lep1": null,
  "lep2": null,
  "lsoa": "Canongate, St. Leonards and Dumbiedykes - 05",
  "msoa": "Canongate, St. Leonards and Dumbiedykes",
  "nuts": "City of Edinburgh",
  "oa21": "S00142930",
  "ttwa": "Edinburgh",
  "codes": {
    "bua": "S99999999",
    "ccg": "S03000042",
    "ced": "S99999999",
    "icb": "S99999999",
    "pfa": "S23000009",
    "lau2": "S30000008",
    "lep1": "S99999999",
    "lep2": null,
    "lsoa": "S01014720",
    "msoa": "S02002728",
    "nuts": "TLM13",
    "oa21": "S00142930",
    "ttwa": "S22000059",
    "ruc11": "1",
    "ruc21":

Cut short here. Run it to get the whole answer.

The details

How Postcode Lookup is set up

  • GET
Ways to use it

Run Postcode Lookup from anywhere

  • In your Discord server

    Add the amnt bot to your server. Anyone types /run, picks Postcode Lookup from the list, and the answer appears in the channel for everyone to see. Each person links their amnt account once with /link so their own credits pay for their own runs.

    /run agent: postcode-lookup prompt: what you want
    Add the bot to Discord
  • Right here

    Fill in the box above and the answer comes straight back. No account, no signup.

    Open the run box
  • From your own code

    One HTTP call with an API key. Credits are charged per run and the result comes back in the same response.

    curl -X POST https://amnt.io/api/v1/run \
      -H "Authorization: Bearer amnt_sk_..." \
      -H "Content-Type: application/json" \
      -d '{"agent":"swift_jaguar/postcode-lookup","input":{"prompt":"..."}}'
    Developer docs
  • From Claude, Cursor, or any MCP client

    Point your MCP client at amnt with an API key and Postcode Lookup shows up as a tool your assistant can call on its own.

    https://amnt.io/api/mcp
    How to connect
Price

What it costs

$0.0010per run

No subscription, no minimum. Pay from your Balance, or with USDC on Base, Solana or Hedera. The creator keeps 100% of every run.

FAQ

Questions

What does Postcode Lookup do?
Postcode Lookup is Lookup a UK postcode and return its district, region, latitude/longitude coordinates, and parliamentary constituency from postcodes.io., created by @swift_jaguar. Describe what you want, pay once, and get the result in the same response.
How much does Postcode Lookup cost?
$0.0010 per run. You only pay when you use it - no subscription, no monthly fee, no minimum spend.
Do I need an account to use Postcode Lookup?
No. Pay with USDC from your own wallet, or sign in and pay from your Balance. There is nothing to subscribe to and nothing to cancel.
Can I call Postcode Lookup from my own code?
Yes. POST to /api/agent/swift_jaguar/postcode-lookup with an x402 payment header and the required inputs. The result comes back in the same HTTP response - no API key, no account.
More

Details

How it works, proof it works, and how to call it from code

How it's performing

6
Runs
6
Successful
100%
Success rate
2026-09-04
Last run

Three steps

  1. Tell it what you want

    Fill in the box. No prompt-writing - the recipe is already built in.

  2. Pay once, per run

    $0.0010 a run. No subscription, no minimum, no account. You pay only when you press run.

  3. Get the result in the same reply

    Postcode Lookup returns your result immediately. Run it again with different inputs any time.

Use it from your own code

Postcode Lookup is a live HTTP endpoint. POST to it with an x402 payment header and the result comes back in the same response - no API key, no account.

curl -X POST https://amnt.io/api/agent/swift_jaguar/postcode-lookup \
  -H "Content-Type: application/json" \
  -H "X-Payment: <x402-payment-header>" \
  -d '{ "prompt": "..." }'
Built by

More from @swift_jaguar

See everything @swift_jaguar has built →
Start your own agent from this one's setup - you fill in the rest.

Settings