79trust / 100

Lookup Address

by postcode-api-production.up.railway.app in Weather & location

x402 APIPassing, checked 2 h ago

Search UK postcodes by free-text address or place query; returns up to 100 matching postcode records.

POST https://postcode-api-production.up.railway.app/lookup/address

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
371 ms typical, 465 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://postcode-api-production.up.railway.app/lookup/address" \
  -H "content-type: application/json" \
  -d '{"limit":10,"query":"Buckingham Palace"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fpostcode-api-production.up.railway.app%2Flookup%2Faddress
const res = await pay("https://postcode-api-production.up.railway.app/lookup/address", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"limit":10,"query":"Buckingham Palace"}),
});
console.log(await res.json());

Example input

{
  "limit": 10,
  "query": "Buckingham Palace"
}

Example output

{
  "count": 1,
  "query": "Buckingham Palace",
  "results": [
    {
      "admin_county": null,
      "admin_district": "Westminster",
      "admin_ward": "St James's",
      "ccg": "NHS North West London",
      "codes": {
        "admin_district": "E09000033",
        "admin_ward": "E05013806"
      },
      "country": "England",
      "date_of_introduction": "198001",
      "european_electoral_region": "London",
      "incode": "1AA",
      "latitude": 51.501009,
      "longitude": -0.141588,
      "lsoa": "Westminster 018C",
      "msoa": "Westminster 018",
      "nuts": "Westminster",
      "outcode": "SW1A",
      "parish": "Westminster, unparished area",
      "parliamentary_constituency": "Cities of London and Westminster",
      "postcode": "SW1A 1AA",
      "primary_care_trust": "Westminster",
      "quality": 1,
      "region": "London"
    }
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402362 ms$0.001
5 h agoPassed402341 ms$0.001
9 h agoPassed402413 ms$0.001
12 h agoPassed402333 ms$0.001
16 h agoPassed402399 ms$0.001
20 h agoPassed402334 ms$0.001
23 h agoPassed402465 ms$0.001
28 h agoPassed402179 ms$0.001
31 h agoPassed402419 ms$0.001
34 h agoPassed402625 ms$0.001
39 h agoPassed402371 ms$0.001