API Reddit

Reddit Publication API

Récupérez une seule publication Reddit par URL, avec son texte complet, son score, son nombre de commentaires, son ratio de votes positifs et son subreddit, en JSON normalisé.

0,48 $US/1k req, paiement à la requête, sans abonnement.

ELI5: Why does helium make your voice sound high pitched? : r/explainlikeimfive
reddit.com/r/explainlikeimfive/comments/1fk2p9/eli5_why_does_helium_make_your_voice_sound_high/
redditLog InSign Up

r/explainlikeimfive·u/curious_otter42· Jun 3, 2024

ELI5: Why does helium make your voice sound high pitched?

Sound travels about three times faster through helium than through normal air. That does not change the actual vibration rate of your vocal cords, but it does raise the resonant frequencies of your vocal tract, which is what gives the sound its pitch and tone. So your voice actually still has the same fundamental pitch, it just resonates differently, which is why it sounds so much higher and thinner to our ears.

18.4K1,284 CommentsShare
Best
Ce que l’API a renvoyé
{
"id": "1fk2p9",
"title": "ELI5: Why does helium make your voice sound high pitched?",
"author": "curious_otter42",
"body": "Sound travels about three times faster through helium than through normal air. That does not change the actual vibration rate of your vocal cords, but it does raise the resonant frequencies of your vocal tract, which is what gives the sound its pitch and tone. So your voice actually still has the same fundamental pitch, it just resonates differently, which is why it sounds so much higher and thinner to our ears.",
"score": 18432,
"numComments": 1284,
"upvoteRatio": 0.97,
"url": "https://www.reddit.com/r/explainlikeimfive/comments/1fk2p9/eli5_why_does_helium_make_your_voice_sound_high/",
... 10 champs de plus
}
Disponibilité
100,00%
30d · 116 907 appels
Requêtes
118 015
30 j · par semaine, 12 dernières sem.
Réponse
3,6s
médiane · 30d

Tarifs et fournisseurs

Tarifs de l’API Reddit Publication : une API, 5 fournisseurs interchangeables

Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.

Vous payez
4,80 $US
0,48 $US/1k req, seulement pour ce que vous utilisez. Aucun forfait mensuel.
Vos 208 premières requêtes sont gratuites avec le solde de départ de 0,10 $US.

Essayer

Obtenez Reddit Publication en une requête

Ouvrir dans
Obtenir une clé gratuite
Exemple de réponse
Les exécutions gratuites ne renvoient que les 3 premiers résultats. Alimentez une clé pour obtenir la réponse complète.

Cet exemple affiche 19 champs sur 21. Voir tous les champs

{
  "found": true,
  "data": {
    "id": "1fk2p9",
    "title": "ELI5: Why does helium make your voice sound high pitched?",
    "author": "curious_otter42",
    "body": "Sound travels about three times faster through helium than through normal air. That does not change the actual vibration rate of your vocal cords, but it does raise the resonant frequencies of your vocal tract, which is what gives the sound its pitch and tone. So your voice actually still has the same fundamental pitch, it just resonates differently, which is why it sounds so much higher and thinner to our ears.",
    "score": 18432,
    "numComments": 1284,
    "upvoteRatio": 0.97,
    "url": "https://www.reddit.com/r/explainlikeimfive/comments/1fk2p9/eli5_why_does_helium_make_your_voice_sound_high/",
    "permalink": "/r/explainlikeimfive/comments/1fk2p9/eli5_why_does_helium_make_your_voice_sound_high/",
    "createdUtc": 1717430400,
    "subreddit": "explainlikeimfive",
    "isArchived": false,
    "isLocked": false,
    "image": "",
    "isNsfw": false,
    "domain": "self.explainlikeimfive",
    "authorId": "9f3k2q"
  }
}

Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.

Référence

Une requête, une seule forme de réponse.

Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.

Dernière vérification : 2026-11-21 · disponibilité et latence mesurées sur 30d

Corps de la requête

JSON, envoyé à cet endpoint.

  • urlstring

    https://www.reddit.com/r/explainlikeimfive/comments/1fk2p9/eli5_why_does_helium_make_your_voice_sound_high/

    Reddit post URL on reddit.com, e.g. "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/". The /r/<subreddit>/comments/<id>/, /user/<name>/comments/<id>/, /comments/<id>/ and /gallery/<id> forms are accepted. Any other link, such as a share link or a link to another site, is refused as invalid input, with no charge.

Vous envoyez. Un petit corps JSON. Les valeurs affichées sont des exemples à remplacer par les vôtres.

Réponse

JSON, une valeur d’exemple par champ.

datadata

The post record, or null when nothing was found.

  • authorstring

    curious_otter42

    Author username, without the u/ prefix. Populated whenever the provider has data for the entity.

  • authorIdstring

    9f3k2q

    Reddit account ID of the author, without the t2_ prefix.

  • bodystring

    Sound travels about three times faster through helium than through normal air. That does not change the actual vibration rate of your vocal cords, but it does raise the resonant frequencies of your vocal tract, which is what gives the sound its pitch and tone. So your voice actually still has the same fundamental pitch, it just resonates differently, which is why it sounds so much higher and thinner to our ears.

    The post's own body text (selftext), as Markdown. Empty for link posts, which carry no body. Populated whenever the provider has data for the entity.

  • createdUtcnumber

    1717430400

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • domainstring

    self.explainlikeimfive

    Domain the post links to, for example "self.IAmA" for a text post.

  • editedUtcnumber

    UTC epoch timestamp in seconds (Unix time) of the last edit. Multiply by 1000 for a JS Date in milliseconds.

  • idstring

    1fk2p9

    Reddit post ID (base-36, without the t3_ prefix). Populated whenever the provider has data for the entity.

  • imagestring

    Preview image for the post, when Reddit generated one. Reddit signs this URL and it is time-limited, so fetch it promptly rather than storing it; the query string carries the signature and must be kept intact. Empty when the post has no preview image.

  • isArchivedboolean

    false

    True when Reddit has archived the thread, which blocks new comments and votes. Archiving is a per-community setting, so an old thread is not necessarily archived. Absent when the source that served this request does not report it, which means unknown rather than false.

  • isLockedboolean

    false

    True when a moderator has locked the thread, which blocks new comments. Absent when the source that served this request does not report it, which means unknown rather than false.

  • isNsfwboolean

    false

    True when the post is marked NSFW (over 18).

  • numCommentsinteger

    1284

    Total number of comments on the post.

  • permalinkstring

    /r/explainlikeimfive/comments/1fk2p9/eli5_why_does_helium_make_your_voice_sound_high/

    Canonical reddit.com thread path for the post (e.g. "/r/golang/comments/abc123/..."). Differs from url, which is the destination link. Empty if the upstream omits it. Populated whenever the provider has data for the entity.

  • scoreinteger

    18432

    Net score (upvotes minus downvotes) at fetch time.

  • subredditstring

    explainlikeimfive

    Subreddit name, without the r/ prefix. Populated whenever the provider has data for the entity.

  • titlestring

    ELI5: Why does helium make your voice sound high pitched?

    Post title. Populated whenever the provider has data for the entity.

  • upvoteRationumber

    0.97

    Fraction of votes that are upvotes, between 0 and 1. Zero when the upstream does not report it.

  • urlstring

    https://www.reddit.com/r/explainlikeimfive/comments/1fk2p9/eli5_why_does_helium_make_your_voice_sound_high/

    The post's destination link: the external URL for a link post, the media URL for an image, gallery or video post, or the thread URL for a text post. A text post that also carries an image may give either its thread URL or the image URL. Populated whenever the provider has data for the entity.

top level
  • foundboolean

    true

    True when the post was found; false when the lookup returned nothing.

  • 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.

Vous recevez. Des champs nommés et typés, dans la même forme quelle que soit la source qui répond.

Vous vendez cette API ? Consultez le schéma complet que votre endpoint doit renvoyer.

FAQ

À propos de l’API Reddit Publication

L’API Reddit Publication d’AnyAPI renvoie des données Reddit en JSON normalisé à partir d’un appel POST à /v1/run/reddit.post. Récupérez une seule publication Reddit par URL, avec son texte complet, son score, son nombre de commentaires, son ratio de votes positifs et son subreddit, en JSON normalisé. AnyAPI route chaque requête sur 5 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 0,48 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 100,0% des appels Reddit Publication passés par AnyAPI ont réussi, avec un temps de réponse médian de 3,6 secondes, sur 116 907 appels mesurés.

Elle coûte à partir de 0,48 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Vous alimentez un portefeuille en USD et chaque appel le débite. Certaines requêtes échouées financées par le portefeuille entraînent des frais de traitement que nous répercutons au prix coûtant, sans marge ; la réponse d’erreur indique le montant facturé.

Récupérez une seule publication Reddit par URL, avec son texte complet, son score, son nombre de commentaires, son ratio de votes positifs et son subreddit, en JSON normalisé. La réponse est du JSON normalisé avec la même enveloppe que celle de tous les endpoints AnyAPI, donc analyser un second endpoint revient à changer l’URL et rien d’autre.

Ces 30 derniers jours, 100,0% des appels Reddit Publication passés par AnyAPI ont réussi, avec un temps de réponse médian de 3,6 secondes, sur 116 907 appels mesurés. Ce sont les propres mesures d’AnyAPI du trafic passant par la passerelle, recalculées en continu, et non un objectif de niveau de service publié.

Oui. Un nouveau compte AnyAPI démarre avec 0,10 $US de solde gratuit, sans carte, ce qui couvre 208 appels Reddit Publication à 0,00048 $US chacun.

AnyAPI interroge la suivante de ses 5 sources dans la même requête, la moins chère d’abord, donc la panne d’une source ne fait pas échouer votre appel.

Envoyez une requête POST à https://api.getanyapi.com/v1/run/reddit.post avec votre clé AnyAPI dans un en-tête « Authorization: Bearer » et l’entrée en corps JSON. La même clé et le même portefeuille fonctionnent sur tous les endpoints AnyAPI.

Non. Vous ajoutez des dollars US à un solde AnyAPI prépayé unique et chaque requête le débite. Il n’y a ni forfait mensuel ni minimum, et le même solde paie tous les endpoints AnyAPI.

Oui. Installez @getanyapi/sdk depuis npm pour TypeScript ou getanyapi depuis pip pour Python. Les deux appellent chaque endpoint AnyAPI avec la même clé, et n’importe quel client HTTP fonctionne aussi.

Oui. Un agent peut se connecter au serveur MCP d’AnyAPI à https://api.getanyapi.com/mcp, ou créer sa propre clé d’essai gratuit avec un seul POST non authentifié vers https://api.getanyapi.com/agent/signup et appeler cet endpoint en HTTP.