# Spothero — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Access data from spothero.com.

**Category:** Travel | **Website:** [spothero.com/](https://spothero.com/) | **Docs:** [parse.bot/marketplace/bf32bdd2-6196-4cd0-8416-385a6578072b/spothero-com-api](https://parse.bot/marketplace/bf32bdd2-6196-4cd0-8416-385a6578072b/spothero-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-spothero-com-api-bf32bdd2/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_parking

Search for available parking spots near a geographic coordinate within a time window. Returns all nearby facilities with pricing, availability, walking distance, amenities, ratings, and restrictions. Results are sorted by relevance. Each spot includes full facility details in a single response — no detail fetch needed.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `ends` | string | Yes | Parking end time in ISO format YYYY-MM-DDTHH:MM:SS or YYYY-MM-DDTHH:MM. |
| `latitude` | string | Yes | Latitude of the destination (e.g. 41.8839). |
| `longitude` | string | Yes | Longitude of the destination (e.g. -87.6310). |
| `starts` | string | Yes | Parking start time in ISO format YYYY-MM-DDTHH:MM:SS or YYYY-MM-DDTHH:MM. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-spothero-com-api-bf32bdd2/search_parking \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ends":"<string>","latitude":"<string>","longitude":"<string>","starts":"<string>"}'
```
