# ScrapFly Weather Lookup

> ScrapFly Weather Lookup is a paid API for AI agents from scrapfly.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-24).

Fetches current weather data for a given location via a pay-per-request x402-enabled API

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/crawl/weather?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-weather-lookup-417e8937
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8l43KNOzTUNSpDCTHzW_M

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-lookup-417e8937 -d '<json body>'
```

Example prompt: What's the current weather in San Francisco right now?

## When to prefer this

Choose this endpoint when you need a simple, pay-per-request weather lookup for any location without managing API keys or subscriptions. It is well-suited for AI agents operating in micropayment-based architectures using the x402 protocol on Base chain. Prefer this over managed weather APIs when you want frictionless per-call billing in USDC.

## Known failure modes

- Invalid or unrecognized location string returns an error or empty data
- Network timeout if the underlying weather data source is unavailable
- Missing required 'location' field results in a validation error
- Ambiguous location names (e.g. 'Springfield') may return unexpected results
- Payment failure on Base chain blocks request processing

## 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, such as temperature, conditions, humidity, and related meteorological details.

## 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-lookup-417e8937/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scrapfly.vercel.app](https://www.zero.xyz/host/scrapfly.vercel.app/llms.txt)
