# Movoto Autocomplete API Documentation

<p><strong>Movoto Autocomplete API</strong> resolves a place name to a ready <code>location</code> value for the search route. Results cover cities, counties, ZIP codes and neighborhoods with state, listing count and coordinates. Pass the <code>location</code> of a result into the search route unchanged. A query with no match returns an empty list. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/movoto-api/movoto_autocomplete](https://scrappa.co/docs/movoto-api/movoto_autocomplete)
- **API group:** Movoto API
- **Endpoint:** `GET https://scrappa.co/api/movoto/autocomplete`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | Yes | Search text, 2 to 100 characters. Example: aus. |
| `limit` | integer | No | Number of results, 1 to 25 (default 10). |

## Example response

```json
{
    "data": {
        "query": "aus",
        "results": [
            {
                "city": "Austin",
                "name": "Austin",
                "type": "city",
                "state": "TX",
                "county": "Travis County",
                "location": "austin-tx",
                "full_name": "Austin TX Texas",
                "coordinates": {
                    "latitude": 30.2986219,
                    "longitude": -97.7541339
                },
                "postal_code": null,
                "listing_count": 6610
            },
            {
                "city": "Austin",
                "name": "78701",
                "type": "zip",
                "state": "TX",
                "county": null,
                "location": "tx/78701",
                "full_name": "78701 TX Texas",
                "coordinates": {
                    "latitude": 30.270007,
                    "longitude": -97.742564
                },
                "postal_code": "78701",
                "listing_count": 241
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "autocomplete"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter is missing or invalid. This response is not billable. |
| 503 | Upstream Unavailable | Movoto could not be reached or returned data that does not match the request. This response is not billable and is retryable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
