A

Agenticweb · NL Vacation Region

by Agenticweb

POSTBase

$0.01

per call · USD Coin on Base

Resolve a Dutch place to its vacation region + holiday dates. Send the parameters in a JSON request body via POST. Payment constitutes acceptance of the terms at https://agenticweb.nl/terms.

Endpoint

POST https://api.agenticweb.nl/api/v1/nl/vacation-region

3

Calls / 30d

1

Unique payers / 30d

Aug 21

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.agenticweb.nl/api/v1/nl/vacation-region", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "postcode": "1011AC"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.agenticweb.nl/api/v1/nl/vacation-region" \
  -H "Content-Type: application/json" \
  -d '{"postcode":"1011AC"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "properties": {
    "holidays": {
      "description": "That region's current holiday dates.",
      "type": "array"
    },
    "query": {
      "description": "Echo of the resolved place/gemeente/province.",
      "type": "object"
    },
    "region": {
      "enum": [
        "noord",
        "midden",
        "zuid"
      ],
      "type": "string"
    }
  },
  "type": "object"
}

Payment details

Pay to0x9fd85fe177a8750a0e8a15b0741c56932f26f1ae
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Agenticweb & similar services