## github/search

`GET /v1/github/search`

Search GitHub issues and pull requests with full advanced-search query syntax.

*GitHub issue search*

| Parameter | Required | Description |
| --- | --- | --- |
| `query` | yes | GitHub advanced search query, passed through verbatim — e.g. `repo:vercel/next.js is:issue is:open label:bug` |
| `sort` | no | Sort key, e.g. comments, reactions, created, updated — e.g. `reactions` |
| `order` | no | Sort direction: asc or desc — e.g. `desc` |
| `limit` | no | Items per page, max 100 — e.g. `25` |
| `cursor` | no | Opaque page cursor from a previous response — e.g. `2` |
| `dry_run` | no | Read a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution. — e.g. `1` |

**Cost:** 3 credits at list price per successful uncached response; variable-cost operations may quote or settle a different charge. Confirmed uncharged or refunded failures report zero. Pending reconciliation can report credits_used:null; retain request_id and the original idempotency key.

```bash
curl "https://www.monocrawl.com/v1/github/search?query=repo%3Avercel%2Fnext.js%20is%3Aissue%20is%3Aopen%20label%3Abug" \
  -H "x-api-key: mn_your_key_here"
```

### Response data

Illustrative abbreviated data; documented core fields are optional and may be null. Additional source fields are allowed.

```json
{
  "_warnings": [
    "example"
  ],
  "count": 0,
  "cursor": null,
  "dropped": 0,
  "items": [
    {
      "author": "example",
      "author_association": "example",
      "body": "example",
      "comments": 0,
      "created_at": "2026-09-01T12:00:00Z",
      "id": 0,
      "is_pull_request": false,
      "labels": [
        "example"
      ],
      "number": 0,
      "reactions": 0,
      "state": "example",
      "title": "example",
      "updated_at": "2026-09-01T12:00:00Z",
      "url": "https://example.com/example"
    }
  ],
  "query": "example",
  "total_count": 0
}
```

[Field reference](https://www.monocrawl.com/docs/endpoints/github/search#response) · [JSON Schema for response.data](https://www.monocrawl.com/schemas/github/search.json)
