{
"items": [
{
"type": "post",
"id": "t3_g53lxf",
"title": "Lad wrote a Python script to download Alexa voice recordings, he didn't expect this email.",
"url": "https://www.reddit.com/r/Python/comments/g53lxf/lad_wrote_a_python_script_to_download_alexa_voice/",
"link_url": "https://i.redd.it/2s0dj8ob12u41.png",
"author": "iEslam",
"subreddit": "Python",
"score": 12343,
"comments_count": 133,
"created_at": "2020-04-20T23:11:39Z",
"domain": "i.redd.it",
"rank": 1,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 6,
"selftext": null,
"flair": "Discussion",
"author_fullname": "t2_g532u",
"position": 1,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-10-02T10:07:17.035Z",
"short_id": "g53lxf",
"post_url": "https://www.reddit.com/r/Python/comments/g53lxf/lad_wrote_a_python_script_to_download_alexa_voice/",
"post_id": "g53lxf",
"text": "Lad wrote a Python script to download Alexa voice recordings, he didn't expect this email.",
"author_handle": "iEslam",
"author_id": "t2_g532u",
"posted_at": "2020-04-20T23:11:39Z",
"likes": 12343
},
{
"type": "post",
"id": "t3_hoolsm",
"title": "This post has:",
"url": "https://www.reddit.com/r/Python/comments/hoolsm/this_post_has/",
"link_url": "https://www.reddit.com/r/Python/comments/hoolsm/this_post_has/",
"author": "Krukerfluk",
"subreddit": "Python",
"score": 9232,
"comments_count": 429,
"created_at": "2020-07-10T13:06:13Z",
"domain": "self.Python",
"rank": 2,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 1,
"selftext": null,
"flair": "I Made This",
"author_fullname": "t2_4t5wv9jj",
"position": 2,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-10-02T10:07:17.035Z",
"short_id": "hoolsm",
"post_url": "https://www.reddit.com/r/Python/comments/hoolsm/this_post_has/",
"post_id": "hoolsm",
"text": "This post has:",
"author_handle": "Krukerfluk",
"author_id": "t2_4t5wv9jj",
"posted_at": "2020-07-10T13:06:13Z",
"likes": 9232
}
],
"errors": [],
"partial": false,
"warnings": [],
"summary": {
"itemCount": 60,
"errorCount": 0,
"mode": "subreddit",
"pagesFetched": 3,
"postsReturned": 60,
"fetchedInSeconds": 10.99
},
"next_cursor": null
}
curl --location --request GET 'https://zylalabs.com/api/15170/reddit+scraper+api/40457/reddit+scraper+api+with+query+parameters?mode=subreddit&sort=hot&time=all&limit=50&retries=4' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"items": [
{
"type": "post",
"id": "t3_g53lxf",
"title": "Lad wrote a Python script to download Alexa voice recordings, he didn't expect this email.",
"url": "https://www.reddit.com/r/Python/comments/g53lxf/lad_wrote_a_python_script_to_download_alexa_voice/",
"link_url": "https://i.redd.it/2s0dj8ob12u41.png",
"author": "iEslam",
"subreddit": "Python",
"score": 12339,
"comments_count": 133,
"created_at": "2020-04-20T23:11:39Z",
"domain": "i.redd.it",
"rank": 1,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 6,
"selftext": null,
"flair": "Discussion",
"author_fullname": "t2_g532u",
"position": 1,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-11-21T11:14:06.044Z",
"short_id": "g53lxf",
"post_url": "https://www.reddit.com/r/Python/comments/g53lxf/lad_wrote_a_python_script_to_download_alexa_voice/",
"post_id": "g53lxf",
"text": "Lad wrote a Python script to download Alexa voice recordings, he didn't expect this email.",
"author_handle": "iEslam",
"author_id": "t2_g532u",
"posted_at": "2020-04-20T23:11:39Z",
"likes": 12339
},
{
"type": "post",
"id": "t3_hoolsm",
"title": "This post has:",
"url": "https://www.reddit.com/r/Python/comments/hoolsm/this_post_has/",
"link_url": "https://www.reddit.com/r/Python/comments/hoolsm/this_post_has/",
"author": "Krukerfluk",
"subreddit": "Python",
"score": 9232,
"comments_count": 429,
"created_at": "2020-07-10T13:06:13Z",
"domain": "self.Python",
"rank": 2,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 1,
"selftext": null,
"flair": "I Made This",
"author_fullname": "t2_4t5wv9jj",
"position": 2,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-11-21T11:14:06.044Z",
"short_id": "hoolsm",
"post_url": "https://www.reddit.com/r/Python/comments/hoolsm/this_post_has/",
"post_id": "hoolsm",
"text": "This post has:",
"author_handle": "Krukerfluk",
"author_id": "t2_4t5wv9jj",
"posted_at": "2020-07-10T13:06:13Z",
"likes": 9232
},
{
"type": "post",
"id": "t3_gftejm",
"title": "I redesign the Python logo to make it more modern",
"url": "https://www.reddit.com/r/Python/comments/gftejm/i_redesign_the_python_logo_to_make_it_more_modern/",
"link_url": "https://i.redd.it/rxezjyf4ojx41.png",
"author": "jessjwilliamson",
"subreddit": "Python",
"score": 7870,
"comments_count": 262,
"created_at": "2020-05-08T13:39:09Z",
"domain": "i.redd.it",
"rank": 3,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 2,
"selftext": null,
"flair": "I Made This",
"author_fullname": "t2_2s1icki5",
"position": 3,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-11-21T11:14:06.044Z",
"short_id": "gftejm",
"post_url": "https://www.reddit.com/r/Python/comments/gftejm/i_redesign_the_python_logo_to_make_it_more_modern/",
"post_id": "gftejm",
"text": "I redesign the Python logo to make it more modern",
"author_handle": "jessjwilliamson",
"author_id": "t2_2s1icki5",
"posted_at": "2020-05-08T13:39:09Z",
"likes": 7870
},
{
"type": "post",
"id": "t3_7kpme8",
"title": "Automate the boring stuff with python - tinder",
"url": "https://www.reddit.com/r/Python/comments/7kpme8/automate_the_boring_stuff_with_python_tinder/",
"link_url": "https://gfycat.com/PointlessSimplisticAmericanquarterhorse",
"author": "backprop88",
"subreddit": "Python",
"score": 6719,
"comments_count": 324,
"created_at": "2017-12-19T00:47:56Z",
"domain": "gfycat.com",
"rank": 4,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 3,
"selftext": null,
"flair": null,
"author_fullname": "t2_166doo",
"position": 4,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-11-21T11:14:06.044Z",
"short_id": "7kpme8",
"post_url": "https://www.reddit.com/r/Python/comments/7kpme8/automate_the_boring_stuff_with_python_tinder/",
"post_id": "7kpme8",
"text": "Automate the boring stuff with python - tinder",
"author_handle": "backprop88",
"author_id": "t2_166doo",
"posted_at": "2017-12-19T00:47:56Z",
"likes": 6719
},
{
"type": "post",
"id": "t3_irh8l0",
"title": "I'm excited to share my first published book, Introduction to Python Programming for Business and Social Science Applications -- specifically geared towards students not specifically in computer science",
"url": "https://www.reddit.com/r/Python/comments/irh8l0/im_excited_to_share_my_first_published_book/",
"link_url": "https://i.redd.it/ebmh8z3c8rm51.png",
"author": "paulkaefer",
"subreddit": "Python",
"score": 6501,
"comments_count": 248,
"created_at": "2020-09-12T17:53:16Z",
"domain": "i.redd.it",
"rank": 5,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 1,
"selftext": null,
"flair": "Resource",
"author_fullname": "t2_bcj00",
"position": 5,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-11-21T11:14:06.044Z",
"short_id": "irh8l0",
"post_url": "https://www.reddit.com/r/Python/comments/irh8l0/im_excited_to_share_my_first_published_book/",
"post_id": "irh8l0",
"text": "I'm excited to share my first published book, Introduction to Python Programming for Business and Social Science Applications -- specifically geared towards students not specifically in computer science",
"author_handle": "paulkaefer",
"author_id": "t2_bcj00",
"posted_at": "2020-09-12T17:53:16Z",
"likes": 6501
},
{
"type": "post",
"id": "t3_gn9add",
"title": "Drawing Mona Lisa with 256 circles using evolution [Github repo in comments]",
"url": "https://www.reddit.com/r/Python/comments/gn9add/drawing_mona_lisa_with_256_circles_using/",
"link_url": "https://v.redd.it/nyzyx7uyfwz41",
"author": "Itwist101",
"subreddit": "Python",
"score": 5719,
"comments_count": 117,
"created_at": "2020-05-20T10:58:14Z",
"domain": "v.redd.it",
"rank": 6,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 0,
"selftext": null,
"flair": "I Made This",
"author_fullname": "t2_1rvizv1g",
"position": 6,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-11-21T11:14:06.044Z"
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request POST 'https://zylalabs.com/api/15170/reddit+scraper+api/40458/reddit+scraper+api+with+a+json+request+body' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"mode":"subreddit","subreddit":"python","sort":"top","time":"all","limit":60,"retries":4}'
Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Rastreador de Reddit API simplemente incluye tu token de portador en el encabezado de Autorización.
| Encabezado | Descripción |
|---|---|
Autorización
|
Requerido
Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.
|
Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.
Recopila publicaciones de subreddits de Reddit, resultados de búsqueda y una publicación con sus comentarios visibles, puntuaciones y enlaces de respuesta
La API devuelve publicaciones de listados de subreddits, resultados de búsqueda de Reddit y datos de publicaciones individuales con comentarios visibles. Los registros de publicaciones pueden incluir títulos, texto, autores, nombres de subreddits, puntuaciones, recuentos de comentarios, enlaces, marcas de tiempo, dominios, etiquetas, indicadores de contenido NSFW o spoilers y recuentos de publicaciones cruzadas.
La API admite tanto solicitudes GET con parámetros de consulta como solicitudes POST con un cuerpo JSON Ambos métodos permiten acceder a listados de subreddits búsquedas globales o de comunidades y datos de publicaciones o comentarios
Usa las opciones de listado para seleccionar un subreddit, un método de ordenación y un intervalo de tiempo Estos controles te permiten consultar distintas vistas del contenido de la comunidad, como publicaciones clasificadas de un período seleccionado
La búsqueda se puede realizar de forma global o dentro de una comunidad específica Las solicitudes de búsqueda admiten la paginación con cursor, lo que permite solicitar conjuntos de resultados posteriores mediante el cursor devuelto en la respuesta anterior
Los resultados se devuelven como filas identificadas por un tipo como `post` o `comment` Las publicaciones incluyen enlaces permanentes públicos y metadatos del contenido mientras que los comentarios pueden incluir texto visible puntuaciones autores y enlaces o relaciones de respuesta .
Las respuestas GET exponen un arreglo `items` en el nivel superior Las respuestas POST colocan el arreglo `items` dentro de un objeto `data` Cada elemento es un registro estructurado y campos como `rank` y `position` pueden indicar el orden de sus resultados
`id` es el identificador de Reddit, `url` es el enlace permanente público de Reddit y `link_url` es el contenido multimedia o destino enlazado. `score` es la puntuación mostrada, `comments_count` es el total de comentarios, `created_at` es una marca de tiempo ISO 8601 y `is_nsfw`, `is_spoiler` e `is_promoted` son indicadores de contenido.
Trata un arreglo `items` vacío como si no hubiera registros coincidentes o disponibles Algunos campos pueden ser nulos como `selftext` en las publicaciones con enlaces Comprueba cada campo antes de usarlo y utiliza los cursores de paginación devueltos para continuar las búsquedas cuando haya más resultados disponibles