# Rightmove Postcode Lookup

Two lookup modes in one route. Pass postcode to resolve it into an outcode plus the addresses inside it — postcode, outcode, location_identifier and addresses. Pass term instead for free-text address autocomplete — results and count. The two shapes are mutually exclusive: check which parameters came back before reading the other.

- **Documentation:** [https://scrappa.co/docs/rightmove-api/rightmove_address](https://scrappa.co/docs/rightmove-api/rightmove_address)
- **API group:** Rightmove API
- **Endpoint:** `GET https://scrappa.co/api/rightmove/address`

## 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 |
| --- | --- | --- | --- |
| `postcode` | string | No | Full postcode such as SW1A1AA. |
| `term` | string | No | Free-text address fragment for autocomplete. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/rightmove/address?postcode=SW1A1AA"
```

## Example response

```json
{
    "data": {
        "postcode": "SW1A1AA",
        "outcode": "SW1A",
        "addresses": []
    }
}
```

## 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)
