Every endpoint follows the same conventions, so once you have called one you can call them all.
One identifying parameter
Each endpoint takes exactly one parameter that says what to fetch, named for what you have in hand:
urlfor an item and an item's lists (a video's transcript, a post's comments): a canonical link, a short or share link, a mobile link or the platform's own ID.handlefor a profile and a profile's lists: a profile link,@handle, a username or the platform's own ID.queryfor searches (endpoints namedsearch_…).
Each endpoint page lists the kinds of link its parameter takes. A link of another kind, or from another platform, fails
with invalid_input at no charge, and the error names the endpoint that takes it: error.details
says what the link is (url_kind, url_platform) and which endpoints take it (endpoints). For a link that only
points elsewhere (a share link, an embedded player), it also says where the link leads (resolved_url). A search's
query takes words, never a link: a link pasted as the whole query fails the same way, naming the endpoint that takes
it. An endpoint about a web page itself (how often a platform's users shared it) takes any web page's link, on that
platform or off it, exactly as written: only a value that is no http(s):// link fails. The links SocialTap
recognizes:
| Platform | Kind of link | Example |
|---|---|---|
| Amazon | product | https://www.amazon.com/Apple-AirPods-Pro-3/dp/B0FQFB8FMG |
| product | https://www.amazon.com/gp/product/B0FQFB8FMG | |
| product | https://www.amazon.com/product-reviews/B0FQFB8FMG | |
| product | https://www.amazon.com/exec/obidos/ASIN/B0FQFB8FMG | |
| product | https://amzn.to/3XyZabc | |
| product | https://a.co/d/7xYZabc | |
| product | https://amzn.com/B0FQFB8FMG | |
| profile | https://www.amazon.com/sp?seller=A3A7XJ7DLGM1CB | |
| profile | https://www.amazon.com/gp/aag/main?seller=A3A7XJ7DLGM1CB | |
| profile | https://www.amazon.com/gp/help/seller/at-a-glance.html?seller=A3A7XJ7DLGM1CB | |
| profile | https://www.amazon.com/s?me=A3A7XJ7DLGM1CB | |
| profile | https://www.amazon.com/sp/redirect/storefront?seller=A3A7XJ7DLGM1CB | |
| profile | https://www.amazon.com/shops/A3A7XJ7DLGM1CB | |
| profile | https://www.amazon.co.uk/gp/profile/amzn1.account.AFOROB3HYSFWRMIYUG5YOF23VXKQ | |
| playlist | https://www.amazon.com/shop/sydneydelrey/list/XYAIGEFWJGML | |
| profile | https://www.amazon.com/shop/sydneydelrey | |
| Apple Music | post | https://music.apple.com/us/album/lover/1468058165?i=1468058169 |
| post | https://music.apple.com/us/song/i-forgot-that-you-existed/1468058169 | |
| post | https://music.apple.com/us/station/20-years-of-taylor-swift/ra.6825008805 | |
| video | https://music.apple.com/us/music-video/hello/1544490140 | |
| album | https://music.apple.com/us/album/lover/1468058165 | |
| profile | https://music.apple.com/us/artist/taylor-swift/159260351 | |
| profile | https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=159260351 | |
| playlist | https://music.apple.com/us/playlist/taylor-swift-essentials/pl.3950454ced8c45a3b0cc693c2a7db97b | |
| Bluesky | post | https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l |
| post | https://embed.bsky.app/embed/did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l | |
| profile | https://bsky.app/profile/bsky.app | |
| profile | https://bsky.app/profile/did:plc:z72i7hdynmk6r22z27h6tvur | |
| hashtag | https://bsky.app/hashtag/atproto | |
| post | https://www.facebook.com/groups/366190054572553/posts/1837128977478646/ | |
| post | https://www.facebook.com/groups/366190054572553/?multi_permalinks=1837128977478646 | |
| post | https://www.facebook.com/groups/366190054572553/?view=permalink&id=1837128977478646 | |
| profile | https://www.facebook.com/groups/366190054572553/user/100076905588840/ | |
| community | https://www.facebook.com/groups/366190054572553/ | |
| community | https://www.facebook.com/group.php?gid=366190054572553 | |
| community | https://www.facebook.com/share/g/1AbCdEfGh/ | |
| video | https://www.facebook.com/reel/1803909017420449 | |
| video | https://fb.watch/abcDEF123/ | |
| video | https://www.facebook.com/share/v/1AbCdEfGh/ | |
| hashtag | https://www.facebook.com/hashtag/cooking | |
| ad | https://www.facebook.com/ads/library/?id=1448538159982118 | |
| ad | https://www.facebook.com/ads/archive/render_ad/?id=1448538159982118 | |
| place | https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547/ | |
| event | https://www.facebook.com/events/2513378022457980/ | |
| event | https://www.facebook.com/event.php?eid=2513378022457980 | |
| post | https://www.facebook.com/NASA/posts/pfbid02abc | |
| post | https://www.facebook.com/share/p/1AbCdEfGh/ | |
| product | https://www.facebook.com/marketplace/item/1456476040872340/ | |
| place | https://www.facebook.com/marketplace/austin/ | |
| post | https://www.facebook.com/1515533333772646 | |
| profile | https://www.facebook.com/profile.php?id=100088017857524 | |
| profile | https://www.facebook.com/pages/category/Government-Organization/NASA-54971236771/ | |
| profile | https://www.facebook.com/pages/category/Government-Organization/NASA/ | |
| profile | https://www.facebook.com/people/Mantra-Indian-Folsom/100088017857524/ | |
| profile | https://www.facebook.com/p/Mantra-Indian-Folsom-100088017857524/ | |
| profile | https://www.facebook.com/pg/NASA/posts/ | |
| profile | https://www.facebook.com/profile/100044561550831 | |
| profile | https://www.facebook.com/ads/library/?view_all_page_id=20531316728&search_type=page | |
| profile | https://www.facebook.com/Mantra-Indian-Folsom-100088017857524 | |
| profile | https://www.facebook.com/NASA | |
| ad | https://adstransparency.google.com/advertiser/AR01614014350098432001/creative/CR07443539616616939521?region=US | |
| ad | https://transparencyreport.google.com/political-ads/advertiser/AR07541154843046445057/creative/CR17778900238552006657 | |
| profile | https://adstransparency.google.com/advertiser/AR01614014350098432001?region=US | |
| profile | https://transparencyreport.google.com/political-ads/advertiser/AR07541154843046445057 | |
| sound | https://www.instagram.com/reels/audio/822282777968975/ | |
| video | https://www.instagram.com/reel/De1S3KpCXf0/ | |
| post | https://www.instagram.com/p/C0AbCdEfGhI/ | |
| hashtag | https://www.instagram.com/explore/tags/cooking/ | |
| hashtag | https://www.instagram.com/popular/cooking/ | |
| place | https://www.instagram.com/explore/locations/212988663/new-york-new-york/ | |
| topic | https://www.instagram.com/popular/harry-potter/ | |
| topic | https://www.instagram.com/explore/search/keyword/?q=harry%20potter | |
| profile | https://www.instagram.com/natgeo/ | |
| profile | https://www.instagram.com/_u/natgeo | |
| profile | https://www.instagram.com/stories/natgeo/ | |
| story | https://www.instagram.com/stories/natgeo/4012120567117354624/ | |
| story | https://www.instagram.com/stories/highlights/18023864549864045/?story_media_id=4012120567117354624_787132 | |
| story | https://www.instagram.com/s/aGlnaGxpZ2h0OjE4MDIzODY0NTQ5ODY0MDQ1?story_media_id=4012120567117354624_787132 | |
| playlist | https://www.instagram.com/stories/highlights/18195781759377100/ | |
| playlist | https://www.instagram.com/s/aGlnaGxpZ2h0OjE4MTk1NzgxNzU5Mzc3MTAw | |
| Kick | post | https://kick.com/xqc/clips/clip_01JGJHB6CEVFCQRYTVPM8DW892 |
| post | https://kick.com/browse/clips?clip=clip_01JGJHB6CEVFCQRYTVPM8DW892 | |
| post | https://kick.com/xqc?clip=clip_01JGJHB6CEVFCQRYTVPM8DW892 | |
| post | https://clips.kick.com/clips/7a/clip_01JGJHB6CEVFCQRYTVPM8DW892/playlist.m3u8 | |
| video | https://kick.com/xqc/videos/2ba60535-342e-4397-b16a-fb739ca96b21 | |
| profile | https://kick.com/xqc | |
| Komi | profile | https://kimkardashian.komi.io |
| Kwai | video | https://www.kwai.com/@KwaiBrasilOficial/video/5217007328706437238 |
| video | https://k.kwai.com/p/CCzy11ul | |
| playlist | https://www.kwai.com/@KwaiBrasilOficial/playlist/167763847165248717 | |
| topic | https://www.kwai.com/discover/futebol | |
| profile | https://www.kwai.com/@558843093 | |
| profile | https://www.kwai.com/@KwaiBrasilOficial | |
| profile | https://m.kwai.com/user/3xyutri4afq3qks | |
| profile | https://m.kwai.com/user/@KwaiBrasilOficial | |
| profile | https://k.kwai.com/u/@3xyutri4afq3qks/rCdhNk5p | |
| profile | https://k.kwai.com/u/@israelyoficial/rCdhNk5p | |
| Lnk.Bio | profile | https://lnk.bio/msjennafischer |
| post | https://www.linkedin.com/posts/google_the-latest-ai-news-we-announced-in-october-activity-7523096017404100610-Sj86 | |
| post | https://www.linkedin.com/feed/update/urn:li:activity:7520850526549385216/ | |
| post | https://www.linkedin.com/pulse/how-ai-changing-work-satya-nadella | |
| ad | https://www.linkedin.com/ad-library/detail/1603768123 | |
| ad | https://www.linkedin.com/ad-library/employer-brand/1035?talentMarketplaceChannelId=4 | |
| hashtag | https://www.linkedin.com/feed/hashtag/ai/ | |
| community | https://www.linkedin.com/groups/25827/ | |
| product | https://www.linkedin.com/products/shopify/ | |
| profile | https://www.linkedin.com/company/google/ | |
| profile | https://www.linkedin.com/school/stanford-university/ | |
| profile | https://www.linkedin.com/showcase/androidenterprise/ | |
| profile | https://www.linkedin.com/company/1441/ | |
| profile | https://www.linkedin.com/in/williamhgates/ | |
| profile | https://www.linkedin.com/organization-guest/company/google | |
| profile | https://www.linkedin.com/organization-guest/school/stanford-university | |
| profile | https://www.linkedin.com/organization-guest/showcase/androidenterprise | |
| Linkme | profile | https://link.me/papisteak |
| profile | https://link.me/papisteak/shop | |
| Linktree | profile | https://linktr.ee/selenagomez |
| Pillar | profile | https://pillar.io/ninja |
| post | https://www.pinterest.com/pin/424605071146283650/ | |
| topic | https://www.pinterest.com/ideas/star-nail-designs/961385779129/ | |
| profile | https://www.pinterest.com/pinterest/_created/ | |
| playlist | https://www.pinterest.com/pinterest/easy-and-chic-holiday-nail-ideas/ | |
| profile | https://www.pinterest.com/pinterest/ | |
| post | https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/ | |
| post | https://www.reddit.com/gallery/1xfccr2 | |
| post | https://www.reddit.com/r/IAmA/s/a1b2c3d4e5 | |
| post | https://www.reddit.com/video/p2xzbbiakvxh1 | |
| post | https://redd.it/z1c9z | |
| post | https://v.redd.it/p2xzbbiakvxh1 | |
| profile | https://www.reddit.com/user/spez/ | |
| profile | https://www.reddit.com/r/u_spez/ | |
| community | https://www.reddit.com/r/golang/ | |
| Rumble | video | https://rumble.com/v79xhhm-discovery-why-glenn-wants-israel-to-sue-the-new-york-times.html |
| video | https://rumble.com/v79xhhm | |
| video | https://rumble.com/shorts/v7hgv02 | |
| video | https://rumble.com/share/v79xhhm | |
| video | https://rumble.com/embed/v77qthe/ | |
| profile | https://rumble.com/c/Bongino | |
| profile | https://rumble.com/user/vivafrei | |
| profile | https://rumble.com/Bongino | |
| Snapchat | post | https://www.snapchat.com/@mrbeast/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYbHZzZmtrYm1jAZhMOQmTAZhMOQfqAAAAAQ |
| post | https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYbHZzZmtrYm1jAZhMOQmTAZhMOQfqAAAAAQ | |
| post | https://www.snapchat.com/add/mrbeast/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYbHZzZmtrYm1jAZhMOQmTAZhMOQfqAAAAAQ | |
| post | https://www.snapchat.com/p/94e059e6-dce3-4f7d-90cd-7465ef0e5863/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYYWZ4eG15ZmdrAY9oLQrbAY9oLENLAAAAAQ | |
| post | https://www.snapchat.com/web/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYbHZzZmtrYm1jAZhMOQmTAZhMOQfqAAAAAQ | |
| post | https://t.snapchat.com/irFUoWdn | |
| post | https://www.snapchat.com/t/irFUoWdn | |
| profile | https://www.snapchat.com/@mrbeast | |
| profile | https://app.snapchat.com/web/deeplink/snapcode?username=mrbeast&type=SVG&bitmoji=enable | |
| story | https://www.snapchat.com/p/94e059e6-dce3-4f7d-90cd-7465ef0e5863/1234567890 | |
| effect | https://www.snapchat.com/lens/5f2752f411d54fa588987b858f819d47 | |
| effect | https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=ace0170b8d524ecf8f07c4556b45089f&metadata=01 | |
| place | https://www.snapchat.com/place/pat-obriens/0a8cdc5f-8e61-4cc2-8a72-8b49bf3dc093 | |
| hashtag | https://www.snapchat.com/tag/viral | |
| topic | https://www.snapchat.com/topic/joe-rauth-skits | |
| SoundCloud | post | https://api.soundcloud.com/tracks/293 |
| profile | https://api.soundcloud.com/users/183 | |
| post | https://w.soundcloud.com/player/?url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F293 | |
| post | https://on.soundcloud.com/cG6jw | |
| playlist | https://soundcloud.com/forss/sets/soulhack | |
| profile | https://soundcloud.com/forss/tracks | |
| post | https://soundcloud.com/forss/flickermood | |
| profile | https://soundcloud.com/forss | |
| Spotify | post | https://open.spotify.com/track/4uLU6hMCjMI75M1A2tKUQC |
| post | https://open.spotify.com/episode/0ndqMvnUJkNmQrhK98R09Y | |
| post | https://open.spotify.com/album/6N9PS4QXF1D0OWPk0Sxtb4?highlight=spotify:track:4uLU6hMCjMI75M1A2tKUQC | |
| post | https://open.spotify.com/album/6N9PS4QXF1D0OWPk0Sxtb4/4uLU6hMCjMI75M1A2tKUQC | |
| album | https://open.spotify.com/album/6N9PS4QXF1D0OWPk0Sxtb4 | |
| profile | https://open.spotify.com/artist/0gxyHStUsqpMadRV0Di1Qt | |
| playlist | https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M | |
| podcast | https://open.spotify.com/show/2MAi0BvDc6GTFvKFPXnkCL | |
| profile | https://open.spotify.com/user/spotify | |
| Telegram | story | https://t.me/durov/s/1 |
| post | https://t.me/durov/552 | |
| post | https://t.me/c/1006503122/552 | |
| post | https://durov.t.me/552 | |
| community | https://t.me/+AbCdEfGhIjKlMnOp | |
| profile | https://t.me/s/durov | |
| profile | https://t.me/boost/durov | |
| profile | https://durov.t.me | |
| profile | https://t.me/durov | |
| Threads | post | https://www.threads.com/@zuck/post/DeZtp-TkQHh |
| post | https://www.threads.com/t/DeZtp-TkQHh | |
| profile | https://www.threads.com/@zuck | |
| TikTok | video | https://www.tiktok.com/@scout2015/video/6718335390845095173 |
| post | https://www.tiktok.com/@nasa/photo/7310000000000000000 | |
| hashtag | https://www.tiktok.com/tag/cooking | |
| sound | https://www.tiktok.com/music/Different-Acoustic-6717159721276540930 | |
| effect | https://www.tiktok.com/effect/Bold-Glamour-14519845 | |
| playlist | https://www.tiktok.com/@tiktok/playlist/In-The-Mix-7516638364301265695 | |
| place | https://www.tiktok.com/place/Orlando-22535796481476942 | |
| profile | https://www.tiktok.com/@MS4wLjABAAAAwAg0rSzO65WQfz4RzQgGv2Xdv108BgPXhRrrmNVIHQZ9PO8-flwwRtEppYTS0OjA | |
| profile | https://www.tiktok.com/@scout2015 | |
| profile | https://www.tiktok.com/share/user/6745191554350760966 | |
| video | https://vm.tiktok.com/ZMhdWxvaW/ | |
| video | https://www.tiktok.com/t/ZSgAbqM38/ | |
| ad | https://library.tiktok.com/ads/detail/?ad_id=1874500065342865 | |
| TikTok Shop | product | https://shop.tiktok.com/us/pdp/goli-ashwagandha-gummies-with-vitamin-d-ksm-66-vegan-non-gmo/1729587769570529799 |
| product | https://www.tiktok.com/shop/pdp/1729587769570529799 | |
| product | https://shop.tiktok.com/view/product/1729587769570529799?region=US&locale=en-US | |
| profile | https://shop.tiktok.com/us/store/goli-nutrition/7495794203056835079 | |
| profile | https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079 | |
| Truth Social | post | https://truthsocial.com/@realDonaldTrump/117554198887656582 |
| profile | https://truthsocial.com/@realDonaldTrump | |
| profile | https://truthsocial.com/users/realDonaldTrump | |
| community | https://truthsocial.com/group/wine-with-devin-nunes | |
| Twitch | clip | https://clips.twitch.tv/embed?clip=IcyBreakableDelicataTooSpicy-RnrKLybQI3W9K_AD |
| clip | https://clips.twitch.tv/IcyBreakableDelicataTooSpicy-RnrKLybQI3W9K_AD | |
| video | https://player.twitch.tv/?video=v2918964242&parent=example.com | |
| clip | https://m.twitch.tv/clip/IcyBreakableDelicataTooSpicy-RnrKLybQI3W9K_AD | |
| clip | https://www.twitch.tv/ninja/clip/IcyBreakableDelicataTooSpicy-RnrKLybQI3W9K_AD | |
| video | https://www.twitch.tv/videos/2918964242 | |
| video | https://www.twitch.tv/ninja/video/2918964242 | |
| profile | https://www.twitch.tv/ninja | |
| profile | https://www.twitch.tv/popout/ninja/chat | |
| profile | https://player.twitch.tv/?channel=ninja&parent=example.com | |
| X | post | https://x.com/NASA/status/2117633046002225363 |
| post | https://x.com/i/web/status/2117633046002225363 | |
| post | https://x.com/thedankoe/article/2010751592346030461 | |
| hashtag | https://x.com/hashtag/space | |
| community | https://x.com/i/communities/1493446837214187523 | |
| profile | https://x.com/i/user/11348282 | |
| profile | https://x.com/intent/user?screen_name=NASA | |
| profile | https://x.com/intent/user?user_id=11348282 | |
| profile | https://x.com/NASA | |
| YouTube | video | https://www.youtube.com/watch?v=dQw4w9WgXcQ |
| video | https://www.youtube.com/shorts/dQw4w9WgXcQ | |
| video | https://youtu.be/dQw4w9WgXcQ | |
| playlist | https://www.youtube.com/playlist?list=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI | |
| hashtag | https://www.youtube.com/hashtag/cooking | |
| profile | https://www.youtube.com/@RickAstleyYT | |
| profile | https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw | |
| profile | https://www.youtube.com/c/RickAstleyYT | |
| profile | https://www.youtube.com/user/RickAstleyVEVO | |
| profile | https://www.youtube.com/pewdiepie |
The response says what your input resolved to in meta.input: the kind of item, its ID on the platform and its canonical URL. A short link shows the item it pointed to, so you can check you fetched what you meant.
Shared parameters
Parameters that mean the same thing on every endpoint have one name, one format and one validation. An endpoint offers the ones that apply to it (its page lists them), and never under another name: the last column lists names other APIs use that are answered with a suggestion instead.
| Parameter | Type | Values | Meaning | Not |
|---|---|---|---|---|
lang | stringbcp47 | — | Preferred language: a BCP-47 tag such as en or pt-BR (case-insensitive; _ is read as -). | hl, lang_code, language, language_code, locale |
country | stringiso3166-1-alpha-2 | — | Region: an ISO 3166-1 alpha-2 country code such as US or BR (case-insensitive). | country_code, geo, gl, market, region |
sort | string | relevance, newest, oldest, popular, most_comments, best, hot, rising, controversial, qa, spend, nearest, price_asc, price_desc, recent_activity, listingseach endpoint offers a subset | Order of the results. | order, order_by, orderby, sort_by, sortby |
status | string | active, inactive, alleach endpoint offers a subset | Only items that are still running (active), only items that stopped (inactive), or both (all). | active, active_status, ad_active_status, state |
period | string | 1, 7, 30, 90, 120, 180, 365each endpoint offers a subset | The window the ranking counts over, in days back from the platform's latest update (each endpoint lists its own). | date_range, days, time_range, timerange, window |
since | stringdate-time | — | Only items at or after this time: RFC 3339 (2026-10-01T12:00:00Z) or a date (2026-10-01, midnight UTC). On newest-first lists, paging stops when it is reached, so later pages are not fetched or charged. Only on lists ordered by time. | after, date_from, from, from_date, min_date, start, start_date, start_time |
until | stringdate-time | — | Only items before this time (exclusive): RFC 3339 or a date (midnight UTC). Only on lists ordered by time. | before, date_to, end, end_date, end_time, max_date, to, to_date |
fill | string | true, falseeach endpoint offers a subset | true also fetches each result's item from the platform: its full, current record in details (exact counts, its ID), as the platform's own endpoint for that kind returns it. Priced per result filled; a result the platform no longer serves stays unfilled and costs nothing more. | details, enrich, expand, hydrate, lookup |
Every endpoint also accepts the common parameters (max_age, fields; see Credits and caching), and list endpoints limit and cursor (see Pagination).
Unknown parameters are rejected
A parameter the endpoint does not accept fails with invalid_input, free, before anything is fetched. A typo
can't silently change nothing, and junk parameters can't make a request look new to the cache. The error names the
parameter in error.param, the one you most likely meant in details.suggestion (username is answered
with handle, lnag with lang), and every accepted parameter in details.accepted_params.
Selecting fields
fields returns only the fields you name, to cut payloads and tokens: comma-separated paths in the
notation of the resource's schema (id,text, metrics.view_count, segments[].text; a parent
path such as metrics keeps the whole object). It applies to the item, or to each item of a list page;
page and meta always come back whole. Fields you leave out are absent, so null still only ever means
unknown. An unknown path fails with invalid_input and lists every valid path in details.fields.
Selection happens after the cache: it changes neither the price nor whether a request is a cache hit, and requests
that differ only in fields share one cached result.
Live or cached
Every request reads the platform live unless you opt into the cache with max_age (see
Credits and caching). The standard cache-control: max-age=N request header
works too; when you send both, max_age wins. A result is kept for at most 7 days,
so a larger value counts as that.
Request IDs and tracing
Every response carries our x-request-id; quote it when you contact support. You can also send your own ID
for the request in x-client-request-id (1 to 128 printable ASCII characters): it is echoed back in the same
header and in meta.client_request_id, and logged with ours, so a request whose response never reached you can still
be found. A malformed one fails with invalid_input before anything runs. A W3C traceparent is
accepted too: its trace ID is recorded with the request so your trace can be matched to ours (SocialTap starts its
own trace; a malformed traceparent is ignored).
Rate limit headers
Plans don't limit request rate, but every account has a high runaway-protection ceiling (see
Rate limits). Every response states it in the standard IETF fields:
ratelimit-policy is the ceiling as it is enforced: a bucket of q requests that refills in w seconds
("account";q=2000;w=2 for a ceiling of 1,000 requests per second, which admits a burst of 2,000 at once), and
ratelimit what is left of it ("account";r=1997;t=1: requests you may send at once now, and seconds
until the bucket is full again). Above it, requests fail with rate_limited and a retry-after.
Warnings
meta.warnings lists things to act on that did not fail the request, such as an endpoint that will be retired. It is
always present, and empty when there is nothing to say. Each warning has a code, a message and a doc_url:
| Warning | Meaning |
|---|---|
deprecated_endpoint | The endpoint is deprecated: it stops answering on its sunset date, after which it returns endpoint_retired. The message names the date and the replacement. |
items_omitted | This walk of the list will leave some of the platform's items out (the message says which, and how to reach them) although every item it returns is valid and paging goes on as usual: a later page ending with end_reason end does not mean the list was read in full. |
partial_data | Part of the data could not be fetched (a secondary request to the platform failed) while the rest is valid: the fields listed in fields are null (or []) although the platform has them. The request was charged as usual; repeat it later for the full data. |