# GitHub Issue Comments (`github.issue_comments`)

Comments on one issue or pull request.

- **Route:** `POST /v1/run/github.issue_comments`
- **Price:** $0.0012 per request ($1.20 per 1,000) · `cost_usd` on every response
- **Source:** GitHub REST API (`github`) · failover: no
- **Measured latency:** not enough calls measured yet
- **Heavy response:** no

## Input

| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
| `owner` | string | yes |  |  |
| `repo` | string | yes |  |  |
| `limit` | integer | no | 30 |  |
| `page` | integer | no | 1 |  |
| `issue_number` | integer | yes |  |  |

## Output (`output` in the run envelope)

| Field | Meaning |
|---|---|
| `comments` | Comment author, body and dates. |

## Example

```bash
curl -s -X POST https://getallapis.com/v1/run/github.issue_comments \
  -H "Authorization: Bearer $GETALLAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"owner":"fastapi","repo":"fastapi","issue_number":1}'
```

```python
from getallapis_client import Client
client = Client()  # reads GETALLAPIS_API_KEY
result = client.run('github.issue_comments', {'owner': 'fastapi', 'repo': 'fastapi', 'issue_number': 1})
print(result['cost_usd'], result['output'])
```

```bash
getallapis run github.issue_comments '{"owner":"fastapi","repo":"fastapi","issue_number":1}'
```

Quote first (free, validates input): `POST /v1/quote/github.issue_comments` with the same body.
