# Apartments.com Colleges

Resolves up to 20 college ids at once to name, city, state, and a bounding box. An unknown id returns success with an empty list.

- **Documentation:** [https://scrappa.co/docs/apartments-com-api/apartments_com_colleges](https://scrappa.co/docs/apartments-com-api/apartments_com_colleges)
- **API group:** Apartments.com API
- **Endpoint:** `GET https://scrappa.co/api/apartments-com/colleges`

## 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[]` | array | Yes | Up to 20 college ids. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/apartments-com/colleges?ids%5B0%5D=1&ids%5B1%5D=2"
```

## Example response

```json
{
    "success": true,
    "data": {
        "count": 1,
        "colleges": [
            {
                "id": 1,
                "name": "Alabama A&M University",
                "city": "Huntsville"
            }
        ]
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The requested listing, guide, or sitemap was not found. This response is not billable. |
| 422 | Validation Error | A required public parameter is missing or invalid. This response is not billable. |
| 503 | Service Unavailable | The service could not obtain a complete result. 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)
