Rate limits and caching
Stay organized with collections
Save and categorize content based on your preferences.
This page describes the rate limits and caching policies that apply to use of the Tenor API.
Rate limits
Tenor API keys have a default rate limit of 1 API request per second (RPS). API requests
made above the 1 RPS threshold will fail.
To have your rate limit increased, reach out to
api@tenor.com.
Caching
You can cache Tenor's content URLs or API responses to reduce latency and enhance the user
experience.
If your integration caches Tenor's content URLs, you must refresh the cache at least once
each 24 hours.
If your integration caches Tenor's API responses, we recommend that you refresh the records
frequently. Tenor's content ranking for a given query can adjust throughout the day.
When you cache any Tenor content, please respect the Cache-Control headers found in Tenor
responses.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-05 UTC."],[[["The Tenor API has a default rate limit of 1 request per second, and exceeding this limit will result in request failures."],["You can request a rate limit increase by contacting api@tenor.com."],["Caching Tenor content URLs or API responses is encouraged to improve user experience, but ensure content URLs are refreshed at least daily."],["For optimal content relevance, refresh cached API responses regularly, as Tenor's content ranking can change throughout the day."],["Always adhere to the Cache-Control headers provided in Tenor's responses when caching content."]]],["Tenor API usage is limited to 1 request per second, with higher limits available upon request. Caching content URLs is permitted but requires a refresh every 24 hours. Caching API responses is also allowed, though frequent refresh is recommended due to dynamic content ranking. Users should adhere to Cache-Control headers when caching Tenor content. Exceeding the rate limit will result in request failure.\n"]]