# Dailymotion Comments API (dailymotion.comments)

- Canonical page: [https://everyinfra.com/en/dailymotion-api/comments](https://everyinfra.com/en/dailymotion-api/comments?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "dailymotion", "action": "comments", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 100 per call
- Mode: sync; add "mode": "async" for slow tasks

Dailymotion Comments returns the comments posted on one Dailymotion video, which you name by its page link in `url`. You get one row per comment with its ID, the full text, the commenter's display name and ID, the time it was posted, and the ID and link of the video. It serves audience feedback work on a single upload, tracking reactions to a news clip or a brand's video, and comparing the discussion across many videos.

Pass a video page link, such as https://www.dailymotion.com/video/x8da13x; the capability returns the comments on that video. `text` comes back in full with HTML removed, ready for sentiment or topic analysis, and `created_at` lets you lay the discussion out in time, for example to see how reactions shifted after a news event.

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | Specifies the full Dailymotion web link corresponding to the requested action scope: a video page URL for video or comments, a channel page URL for channel or channel_videos, or a playlist page URL for playlist. Fetches video metadata or text comments without downloading video media or subtitle tracks. |
| limit | integer (1–100) | no | 20 | The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| comment_id | platform-native meaning |
| video_id | platform-native meaning |
| video_url | platform-native meaning |
| 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). |
| author_name | Author's display name. |
| author_id | Author's unique ID on the platform. |
| created_at | Creation time, same format as posted_at. |
| 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": "dailymotion",
  "action": "comments",
  "params": {
    "url": "https://www.dailymotion.com/video/x8da13x"
  }
}'
```

```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": "dailymotion",
        "action": "comments",
        "params": {
            "url": "https://www.dailymotion.com/video/x8da13x",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "dailymotion",
  "action": "comments",
  "results": [
    {
      "comment_id": …,
      "video_id": …,
      "video_url": …,
      "text": …,
      "author_name": …,
      "author_id": …,
      "created_at": …,
      "platform": …
    }
  ],
  "count": …,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### How do I collect comments from a whole channel?

List the channel's videos with Dailymotion Channel videos, then pass each row's video link here. Every comment row carries `video_id` and `video_url`, so the combined set still shows which video each comment came from.

### Can I pass a link to a single comment?

No. `url` takes the page link of the video, and the capability returns that video's comments. Comment links, channel pages and playlist pages do not work. Each returned comment has its own `comment_id` if you need to refer to it later.

### Can I identify repeat commenters?

Yes, with `author_id`, the commenter's ID on Dailymotion. Count it across the videos you collect to find the most active voices. Names in `author_name` are display names, which can repeat across people or change, so they make poor keys.

## Also

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