{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"78b21ee2-0a28-460b-9735-54699dffec9b","catalogType":"api","categories":["social-media","advertising","data"],"dataPlatform":"spytrend","dataPlatformLogoUrl":"https://api.sh/logos/spytrend.png","dataPlatformTranslations":{},"dataProduct":"ads-reference","description":"Retrieve Spytrend ad trends by niche and country via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as category, country, output, and retrieve structured data including selected niche, selected country, source trend rank, recent seven-day ad count, and previous seven-day ad count for trend dashboard, and count comparison.","descriptionTranslations":{"ar":"استرجع اتجاهات إعلانات Spytrend حسب القطاع والبلد، مع مواد مرتبة وتغييرات أعداد الإعلانات الحديثة لتنظيم لوحة اكتشاف مؤرخة. استخدم مقاييس المصدر والهويات لبناء لوحة بحث أو مقارنة السجلات المنشورة، مع الحفاظ على المنصة ونطاق القياس وتواريخ التقرير وأمثلة الطلبات وتسعير التنفيذ الحالي في صفحة API.","ja":"分野と国で Spytrend 広告トレンドを照会し、素材順位と直近広告件数の変化を取得できます。 返された出典指標と識別子を調査表示や公開記録の比較に使い、プラットフォーム・集計範囲・報告日を保持できます。API 詳細ページにはリクエスト例と選択した実装の料金があります。","zh":"按细分领域和国家查询 Spytrend 广告趋势，获取来源素材排名及近期广告数量变化，用于有日期的广告发现看板。 可利用返回的来源指标和标识构建研究看板或比较公开记录，保留平台、统计范围和报告日期；API 详情页提供请求示例及当前实现价格。"},"effectContentHtml":"","executionMode":"sync","id":"145a6e16-e335-4ce8-bf1c-ee0b54d0232b","includedContentHtml":"","inputs":[{"description":"Niche (`gaming`, `beauty_and_personal_care`, ... or `ALL`). Values: /spytrend/v1/filters?tool=ad-trends","location":"query","name":"category","nullable":false,"required":false,"type":"string"},{"description":"Two-letter country code (`US`, `GB`, `DE`, ...; `ALL` for every country). The accepted values: /spytrend/v1/filters?tool=ad-trends","location":"query","name":"country","nullable":false,"required":false,"type":"string"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"Native CSV/NDJSON record selector; it has no effect on this JSON-only product.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/spytrend.png","method":"GET","name":"Spytrend ad trends API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eSpytrend Ad Trends API\u003c/h2\u003e\n\u003cp\u003eUse category and country from the documented source filter values, including ALL where supported. Source ranks and tags describe the returned trend set; new_ads_7d and prior_ads_7d are counts for different windows.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eChoose the lookup or search inputs described below. Optional: category, country. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · Spytrend ad trends API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eTrend dashboard\u003c/strong\u003e: Show source ranks and coverage dates together.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCount comparison\u003c/strong\u003e: Compare the two seven-day counts without inventing growth percentages.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecategory\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSelected niche\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecountry\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSelected country\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etrends[].rank\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource trend rank\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etrends[].new_ads_7d\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRecent seven-day ad count\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etrends[].prior_ads_7d\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrevious seven-day ad count\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edata_through\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource coverage date\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/spytrend/v1/ad-trends \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode category=gaming \\\n  --data-urlencode country=US \\\n  --data-urlencode output=json\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/145a6e16-e335-4ce8-bf1c-ee0b54d0232b\"\u003ePublished Spytrend Ad Trends API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eCan I request all niches or countries?\u003c/h3\u003e\n\u003cp\u003eUse ALL where documented for category or country; other values follow the source filter lists.\u003c/p\u003e\n\u003ch3\u003eIs a rising tag proof of sales growth?\u003c/h3\u003e\n\u003cp\u003eNo. It classifies source advertising activity, not product revenue or conversion performance.\u003c/p\u003e\n\u003ch3\u003eHow should a zero prior_ads_7d be handled?\u003c/h3\u003e\n\u003cp\u003eKeep the two counts. Do not divide by zero or manufacture a percentage-growth value.\u003c/p\u003e\n\u003ch3\u003eCan I paginate every trend?\u003c/h3\u003e\n\u003cp\u003eNo page or cursor input is exposed. Keep count and total as source coverage metadata.\u003c/p\u003e\n\u003ch3\u003eHow do I bypass cached results?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.\u003c/p\u003e\n\u003ch3\u003eCan I request CSV or NDJSON?\u003c/h3\u003e\n\u003cp\u003eThis OpenAny implementation serves JSON only. Omit output or set output=json.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/spytrend/spytrend-ad-benchmarks-api\"\u003eSpytrend ad benchmarks API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/spytrend/spytrend-ad-run-time-api\"\u003eSpytrend ad run time API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/spytrend/spytrend-creative-reuse-api\"\u003eSpytrend creative reuse API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/spytrend/spytrend-ad-trends-api?offering=145a6e16-e335-4ce8-bf1c-ee0b54d0232b","providerId":"apish","publicPath":"/v1/agent-apis/apish/spytrend/v1/ad-trends","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"category":"gaming","country":"US","output":"json"}},"response_body":{"cached":false,"category":"gaming","category_label":"Gaming","count":10,"country":"US","credits_used":1,"data_through":"2026-11-01","format":"cards","themes":[],"total":20,"trends":[{"advertisers":2,"avatar_url":"https://media.spytrend.com/avatars/1381759155025263.jpg?v=3\u0026exp=1795046400\u0026acc=0\u0026mac=hRb892cUp2B8uRpZvAa2HQ","creatives":[{"ad_id":"1592491172092537","ads":18,"media":"video","preview_url":"https://media.spytrend.com/b/AAAAAAAAAAClz2Jsb2JzL3RodW1icy8yMDI2MTAyOC0xMDQ4MzYuNTQ1XzJfNjFkYTg4OTIuYmlug736kwNcn2YqsoIsF0gKaw?exp=17950464…"},{"ad_id":"1892725788362734","ads":16,"media":"video","preview_url":"https://media.spytrend.com/b/AwAAAT48AADFdGJsb2JzL3RodW1icy8yMDI2MTAyOC0wNzE1MjMuMzU2XzRfYjU3NGNiZTMuYmlu6hm34r7fFRNF3t4QyYfc6Q?exp=17950464…"},"… 1 more"],"description":"76 new ads · 2 advertisers","domain":"fumter.com","first_seen":"2026-09-24","headline":"","new_ads_7d":76,"page_id":"1381759155025263","prior_ads_7d":0,"rank":1,"tag":"rising","title":"Alexander-FY"},{"advertisers":8,"avatar_url":"https://media.spytrend.com/avatars/1109795825546183.jpg?v=3\u0026exp=1795046400\u0026acc=0\u0026mac=CTXxKnWZ3EFV3NDx-H4QpQ","creatives":[{"ad_id":"1697993665377561","ads":18,"media":"video","preview_url":"https://media.spytrend.com/b/AwABSdoUAACFSmNvbXBhY3RlZC9hM2QxMTI4Y2YwZDhkZjAyLmJpbgW5jUF4ziQrP-DG4kUSz0M?exp=1795046400\u0026acc=0\u0026mac=plZU-2SCNB…"},{"ad_id":"1105536335729363","ads":8,"media":"video","preview_url":"https://media.spytrend.com/b/AQAA4n3rAABTemNvbXBhY3RlZC80NmQzOWYyOGUxZmViZDcyLmJpbo4xUoa8zh2U_ZeTkt2DjIo?exp=1795046400\u0026acc=0\u0026mac=DelISEE6Oy…"},"… 1 more"],"description":"78 new ads · ×78 growth · 8 advertisers","domain":"page.kiki-story.com","first_seen":"2026-09-19","headline":"💕🔥“ Rewriting The Apocalypse ” Click to read for free！！","new_ads_7d":78,"page_id":"1109795825546183","prior_ads_7d":1,"rank":2,"tag":"rising","title":"KK-SNBookstore8-ct"},"… 8 more"]}}],"seoDescription":"Retrieve Spytrend ad trends by niche and country via REST or MCP powered by Apish. Pay per call, no subscription. Built for trend dashboard workflows.","updatedAt":"2026-12-03T02:46:09.512Z","usageInstructionsHtml":""}}