Cracked · RUN

by Cracked

POSTBase

$0.01

per call · USD Coin on Base

Weather forecast: Current conditions plus daily forecast for coordinates. Use geocode first for a city name. Smart run on Cracked, the tool router for agents: POST {"capability":"weather-forecast","input":{...}} with input fields latitude, longitude, days, units; free schema at GET /v1/capabilities?id=weather-forecast. Quote = provider price + platform fee, never below $0.01; failed runs are never settled.

Endpoint

POST https://cracked.ai/v1/run

3

Calls / 30d

2

Unique payers / 30d

Sep 6

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://cracked.ai/v1/run", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "capability": "weather-forecast",
    "input": {
      "latitude": 30.27,
      "longitude": -97.74
    }
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://cracked.ai/v1/run" \
  -H "Content-Type: application/json" \
  -d '{"capability":"weather-forecast","input":{"latitude":30.27,"longitude":-97.74}}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "billing": {
    "totalUsd": 0.01
  },
  "capability": "weather-forecast",
  "output": {},
  "payment": {
    "network": "eip155:8453",
    "settled": true,
    "transaction": "0x5b1e0b1f5e2c7a5f4d3b2a1908f7e6d5c4b3a291807f6e5d4c3b2a1908f7e6d5"
  },
  "runId": "run_01J8X0Q5M3N7V9Y2K4T6W8Z0A1",
  "status": "COMPLETED"
}

Payment details

Pay to0x9cfa76148b8c3c3b624bc83bb5df1c3bd7c987ca
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from Cracked & similar services