# Aqarmap Listing Valuation API Documentation

Scrappa's `GET /api/aqarmap/listing-valuation` returns Aqarmap's own price estimate for one listing in `estimated_price` (EGP) and the model `confidence` from 0 to 1. `estimated_price` is `null` when Aqarmap has no estimate.

- **Documentation:** [https://scrappa.co/docs/aqarmap-api/aqarmap_listing_valuation](https://scrappa.co/docs/aqarmap-api/aqarmap_listing_valuation)
- **API group:** Aqarmap API
- **Endpoint:** `GET https://scrappa.co/api/aqarmap/listing-valuation`

## 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 |
| --- | --- | --- | --- |
| `listing_id` | string | Yes | Numeric listing id from search, for example 7360411. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/aqarmap/listing-valuation?listing_id=7360411"
```

## Example response

```json
{
    "success": true,
    "data": {
        "valuation": {
            "listing_id": "7360411",
            "estimated_price": {
                "amount": 6800,
                "currency": "EGP"
            },
            "confidence": 0.7853
        }
    },
    "meta": {
        "endpoint_family": "listing_valuation",
        "billable": true,
        "duration_ms": 1100
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | Nothing exists with that identifier on Aqarmap (`NOT_FOUND`). Non-billable. |
| 422 | Validation Error | A query parameter is missing, unknown or unusable. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Upstream Unavailable | Aqarmap could not be reached after retries, refused the request or answered with a body this API cannot read safely (`UPSTREAM_UNAVAILABLE`). Never billed. Retry when `meta.retryable` is true. |

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