80trust / 100

Spot

by api.isocast.dev in Markets & finance

x402 APIPassing, checked 4 h ago

Latest observed weather signal for one city — a single-signal SPOT snapshot (like a market-data quote). Flat $0.01, payable by a STOCK x402 client (no binding nonce). Never returns history or more than one signal. Uncharged on unknown-city / no-data-yet.

GET https://api.isocast.dev/v1/spot

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.isocast.dev/v1/spot?city=istanbul"
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.isocast.dev%2Fv1%2Fspot
const res = await pay("https://api.isocast.dev/v1/spot?city=istanbul");
console.log(await res.json());

Example input

{
  "city": "istanbul"
}

Example output

{
  "charged": true,
  "city": "istanbul",
  "displayName": "Istanbul",
  "latest": {
    "buckets": [
      {
        "label": "29-30°C",
        "no": 0.45,
        "yes": 0.55
      }
    ],
    "city": "istanbul",
    "conditionId": "0x…",
    "marketUrl": "https://polymarket.com/event/highest-temperature-in-istanbul-on-july-26-2026",
    "new": {
      "bucket": "29-30°C",
      "reading": 30.1,
      "unit": "C"
    },
    "old": {
      "bucket": "28-29°C",
      "reading": 29.4,
      "unit": "C"
    },
    "seq": 41,
    "targetDate": "2026-07-26"
  },
  "latestSeq": 41,
  "observedAt": "2026-07-26T13:22:00.000Z",
  "unit": "C"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402414 ms$0.01