# ScrapFly Weather Data API

> ScrapFly Weather Data API is a paid API for AI agents from scravfly.vercel.app, paid per call via x402, $0.09/call, status unknown (last checked 2026-09-14).

Fetches current weather data for a specified location via a pay-per-request web endpoint

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/crawl/weather
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-weather-data-api-96edda0f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-syeuVEOKwV_IEX3cbTuD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scrapfly-weather-data-api-96edda0f -d '<json body>'
```

Example prompt: What's the current weather in Chicago? I need temperature and conditions right now.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-request weather lookup for any named location without requiring a dedicated weather API key. Particularly suitable for AI agents operating in a micro-payment x402 ecosystem on Base chain where spinning up a full weather API subscription is not warranted.

## Known failure modes

- Invalid or unrecognized location string returns success: false
- Network or upstream scraping failure returns success: false with no data
- Ambiguous location names (e.g. 'Springfield') may return data for an unexpected city
- Payment failure via x402 on Base chain prevents request from completing
- Rate limiting or service downtime results in failed response

## How this service works

69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.

## Output

Returns a JSON object with a success boolean and a data object containing weather information for the specified location, including likely temperature, current conditions, and related meteorological data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "location"
 ],
 "properties": {
  "location": {
   "type": "string",
   "description": "location"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapfly-weather-data-api-96edda0f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scravfly.vercel.app](https://www.zero.xyz/host/scravfly.vercel.app/llms.txt)
