API para Reddit: Comentários do post
Comentários de primeiro nível de um post do Reddit pela URL: autor, corpo, pontuação e timestamp. Pagine com o campo cursor.
US$ 0,60/mil req., pague por requisição, sem assinatura.
r/MechanicalKeyboards·
Log in or sign up to leave a comment
switchdoctor· Jun 12, 2024
Look at the Keychron V-series, great value out of the box.
Reply
{"id": "t1_klm123","author": "switchdoctor","body": "Look at the Keychron V-series, great value out of the box.","url": "https://www.reddit.com/r/MechanicalKeyboards/comments/1abc234/comment/klm123/","createdUtc": 1718201500,"parentId": string,"score": integer}
Preços e provedores
Preços do endpoint Comentários do post da API para Reddit: uma API, 3 provedores intercambiáveis
O provedor mais barato atende primeiro. Se ele falhar, o próximo assume na mesma chamada.
Teste
Obtenha Comentários do post do Reddit em uma só requisição
Este exemplo mostra 8 de 18 campos. Ver todos os campos
{
"found": true,
"data": {
"comments": [
{
"id": "t1_klm123",
"author": "switchdoctor",
"body": "Look at the Keychron V-series, great value out of the box.",
"url": "https://www.reddit.com/r/MechanicalKeyboards/comments/1abc234/comment/klm123/",
"createdUtc": 1718201500
}
]
}
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Uma requisição, um formato de resposta.
Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.
Última verificação em 2026-11-14 · disponibilidade e latência medidas em 30d
Corpo da requisição
JSON, enviado via POST para este endpoint.
- urlstring
https://www.reddit.com/r/MechanicalKeyboards/comments/1abc234/
Full Reddit post URL on reddit.com. A gallery link (https://www.reddit.com/gallery/<id>) is read as the post it belongs to, and a relative permalink (/r/<subreddit>/comments/<id>/...) as the same path on https://www.reddit.com.
- cursorstring
Cursor de uma resposta anterior para mais comentários.
Resposta
JSON, um valor de exemplo por campo.
Populated whenever the provider has data for the entity.
- authorstring
switchdoctor
Commenter username, without the u/ prefix. Populated whenever the provider has data for the entity.
- bodystring
Look at the Keychron V-series, great value out of the box.
Comment text, as Markdown. Populated whenever the provider has data for the entity.
- createdUtcnumber
1718201500
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- idstring
t1_klm123
Reddit comment ID (base-36, without the t1_ prefix). Populated whenever the provider has data for the entity.
- parentIdstring
ID of the comment this one replies to (base-36, without the t1_ prefix). Empty for a top-level comment that replies to the post itself.
- scoreinteger
Net score (upvotes minus downvotes) on the comment at fetch time.
- urlstring
https://www.reddit.com/r/MechanicalKeyboards/comments/1abc234/comment/klm123/
Permalink to the comment on reddit.com. Populated whenever the provider has data for the entity.
Photo, video, and GIF attachments on the post. Empty when the post has none; null when the serving source does not report attachments.
- heightinteger
- typestring
One of photo, video, or gif.
- urlstring
Image URL. For a video or GIF this is the poster/thumbnail frame.
- videoUrlstring
Playable video file URL. Present only for video and gif items.
- widthinteger
- nextCursorstring
Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
Vende esta API? Veja o schema completo que o seu endpoint precisa retornar.
Dúvidas frequentes
Sobre o endpoint Comentários do post da API para Reddit
O endpoint Comentários do post da AnyAPI para Reddit retorna dados de Reddit em JSON normalizado com uma chamada POST para /v1/run/reddit.post_comments. Comentários de primeiro nível de um post do Reddit pela URL: autor, corpo, pontuação e timestamp. Pagine com o campo cursor. A AnyAPI distribui cada requisição entre 3 fontes, com failover automático quando uma falha. Custa a partir de US$ 0,60 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Comentários do post da API para Reddit feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 1,2 segundos, em 98.953 chamadas medidas.