# USFS Wildfire Risk to Communities · Compare within parent

Get places and reviews from maps with USFS Wildfire Risk to Communities · Compare within parent from Alexandria through one Spiral API key. 'How does this county compare with the rest of the state/nation' or 'which communities in this county are most at risk'. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Maps & Reviews
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `wildfirerisk-org/wildfire-risk/compare_within_parent`
- Page: https://spiral.ai/tools/alexandria/wildfirerisk-org/wildfire-risk/compare_within_parent

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `level` (required) | one of | states, counties, communities, tribal_areas | — | level |
| `limit` | number | 1 to 500 | 50 | limit |
| `offset` | number | 0 to … | 0 | Pass the previous call's next_cursor (an offset) to continue. |
| `sort_by` | one of | rps_mean, crps_mean, bp_mean, total_housing_units | rps_mean | sort_by |
| `parent_id` | text |  | 00 | 00 for the national collection (states, counties, tribal_areas, or the national sample of communities); a 5-digit county id for communities within that county. Pattern: ^[0-9]{2,10}$. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "wildfirerisk-org/wildfire-risk/compare_within_parent",
    "input": {
      "level": "states"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=wildfirerisk-org%2Fwildfire-risk%2Fcompare_within_parent

## Common questions

### USFS Wildfire Risk to Communities · Compare within parent

**How much does USFS Wildfire Risk to Communities · Compare within parent cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use USFS Wildfire Risk to Communities · Compare within parent through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "wildfirerisk-org/wildfire-risk/compare_within_parent"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use USFS Wildfire Risk to Communities · Compare within parent?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use USFS Wildfire Risk to Communities · Compare within parent?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

