# Machineryline Listing API Documentation

Retrieve one Machineryline listing by the id from search: price with currency and price-on-request state, machine specs, hours, location, dealer rating, dates and full-size photos.

- **Documentation:** [https://scrappa.co/docs/machineryline-api/machineryline_listing](https://scrappa.co/docs/machineryline-api/machineryline_listing)
- **API group:** Machineryline API
- **Endpoint:** `GET https://scrappa.co/api/machineryline/v1/listing`

## 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 |
| --- | --- | --- | --- |
| `id` | string | Yes | Numeric id returned by the search endpoint. |
| `url` | string | No | Public listing url from search. Optional alternative to id. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/machineryline/v1/listing?id=26092210204388769000"
```

## Example response

```json
{
    "success": true,
    "data": {
        "listing": {
            "id": "26092210204388769000",
            "title": "Minibagger Nuoman NM-E12",
            "sku": "XX52493",
            "price": {
                "amount": 4850,
                "currency": "EUR",
                "net_amount": 4075.63,
                "gross_amount": 4850,
                "sale_amount": null
            },
            "specs": {
                "Baujahr": "2026-03"
            },
            "dealer": {
                "rating": 4.3,
                "review_count": 6
            },
            "images": []
        }
    },
    "meta": {
        "endpoint_family": "listing"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Listing Not Found | The listing no longer exists. This response is not billable. |
| 503 | Service Unavailable | The listing source was blocked or timed out. This response is not billable. |

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