# Instagram Comment translations API (instagram.comment_translations)

- Canonical page: [https://everyinfra.com/en/instagram-api/comment_translations](https://everyinfra.com/en/instagram-api/comment_translations?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "instagram", "action": "comment_translations", "params": {...}}
- Price: $0.006389 per call ($6.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, one page of 10 per target, no next_page_token (to read further, page one target at a time with the single-target action; limit is ignored)
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=instagram&action=comment_translations

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | The post or Reel the comments are on, as a link such as https://www.instagram.com/p/<shortcode>/ or https://www.instagram.com/reel/<shortcode>/. |
| comment_ids | not declared | yes | not declared | The comments to translate, as an array of 1 to 10 IDs with no repeats, from the `id` in `comments` or `comment_replies` results. Only about the first 150 comments on the post are searched; comments not found have no row. |
| target_language | not declared | no | not declared | The language to translate into, as a language code such as `en`, `zh-CN`, `zh-TW`, `ja`, `ko`, `es`, `pt-BR`, `fr` or `de`. Defaults to `en`. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| comment_id | (comment_translations) The numeric comment ID, one of the comment_ids you passed. |
| text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
| translation | The machine translation. Absent when the post has no caption. |
| source_language | The detected language code of the original text, such as en; und when it cannot be detected. |
| target_language | The language code translated into: the target_language you passed, or en. |
| author_username | Author's username (@handle), usually usable in URLs. |
| posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
| url | Link to the record on the platform. |
| post_url | Post link. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "instagram",
  "action": "comment_translations",
  "params": {
    "url": "https://www.instagram.com/p/DbiL3SDoJzV/",
    "comment_ids": [
      "18012025586749566"
    ]
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "instagram",
        "action": "comment_translations",
        "params": {
            "url": "https://www.instagram.com/p/DbiL3SDoJzV/",
            "comment_ids": [
                "18012025586749566",
            ],
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-11-21T08:10:56Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "instagram",
  "action": "comment_translations",
  "results": [
    {
      "comment_id": "•••",
      "text": "El equilibrio y la fuerza de zona media de ese pibe es increíble",
      "translation": "That kid's balance and core strength are incredible",
      "source_language": "es",
      "target_language": "en",
      "author_username": "p•••l",
      "posted_at": "2026-08-30T21:47:16+00:00",
      "url": "https://www.instagram.com/reel/DbiL3SDoJzV/c/18012025586749566/",
      "post_url": "https://www.instagram.com/reel/DbiL3SDoJzV/",
      "platform": "instagram"
    }
  ],
  "count": 1,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=instagram
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
