# Meetup Group Search API Documentation

<p><strong>Meetup Group Search API Documentation</strong> Search public Meetup groups by a required query and required coordinates from the places route. Returns total count and rows with group id, name, urlname and member count. The urlname feeds the group detail route unchanged. Use the cursor and has_more to page past the first result set. Cost: 1 credit per successful request. Failed and invalid requests are never billed.</p>

- **Documentation:** [https://scrappa.co/docs/meetup-api/meetup_groups](https://scrappa.co/docs/meetup-api/meetup_groups)
- **API group:** Meetup API
- **Endpoint:** `GET https://scrappa.co/api/meetup/groups`

## 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 |
| --- | --- | --- | --- |
| `query` | string | Yes | Search words (required). |
| `location` | string | No | Location name for the place lookup. |
| `lat` | string | Yes | Search centre latitude from the places route (required). |
| `lon` | string | Yes | Search centre longitude from the places route (required). |
| `radius` | integer | No | Search radius in miles, 1 to 100. |
| `country` | string | No | Two-letter country code. |
| `page_size` | integer | No | Results per page, 1 to 40. |
| `cursor` | string | No | Cursor from the previous response. |

## Example response

```json
{
    "data": {
        "results": [
            {
                "id": "12345678",
                "name": "Berlin Python",
                "urlname": "berlin-python",
                "memberCount": 4210
            }
        ],
        "pagination": {
            "page_size": 12,
            "total_results": 320
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "group_search"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing, invalid or not supported. This response is not billed. |
| 404 | Not Found | The event or group does not exist. This response is not billed. |
| 502 | Upstream Rejected | The upstream refused this request. This response is not billed. |
| 503 | Upstream Unavailable | The upstream is temporarily unavailable. This response is not billed. |

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