# Hemnet Batch Cards API

Hydrate many active listing cards from one batch request instead of one `/api/hemnet/listing` call per id. Ids are sent as a comma-separated `ids` list or repeated `ids[]` parameters; the whole batch costs a single upstream lookup. Ids that no longer exist are simply absent from the returned list.

- **Documentation:** [https://scrappa.co/docs/hemnet-api/hemnet_cards](https://scrappa.co/docs/hemnet-api/hemnet_cards)
- **API group:** Hemnet API
- **Endpoint:** `GET https://scrappa.co/api/hemnet/cards`

## 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 |
| --- | --- | --- | --- |
| `ids` | string | Yes | Comma-separated Hemnet listing ids, 1 to 100 of them |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/hemnet/cards?ids=21889893%2C21892332"
```

## Example response

```json
{
    "success": true,
    "data": {
        "count": 2,
        "cards": [
            {
                "id": "21889893",
                "streetAddress": "..."
            }
        ]
    }
}
```

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