{"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":"cd9bf0ac-54ad-4f7a-b42e-b744e25f32ec","catalogType":"api","categories":["developer","data"],"dataPlatform":"hugging-face","dataPlatformLogoUrl":"https://api.sh/logos/hugging-face.png","dataPlatformTranslations":{},"dataProduct":"developer-resources","description":"Get Hugging Face Collections data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, q, and retrieve structured data including collection display title, description, owner, last updated, and id to discover curated model stacks, track organization showcases, and feed downstream detail lookups.","descriptionTranslations":{"ar":"ابحث في مجموعات Hugging Face Hub العامة عبر OpenAny REST لاكتشاف قوائم منسقة من النماذج ومجموعات البيانات وSpaces والأوراق البحثية. صفِّ النتائج بالكلمات المفتاحية أو المالك أو العنصر المضمّن، ورتّب حسب الرواج أو الأصوات أو التعديل مع التصفح بالمؤشر للحصول على البيانات الوصفية والعناصر المضمنة بصيغة JSON.","ja":"OpenAny REST で Hugging Face Hub の公開コレクションを検索し、モデル・データセット・Spaces・論文のキュレーション一覧を取得できます。タイトル語句、オーナー、含まれるアイテムで絞り込み、トレンド・高評価・更新順のソートとカーソルページングで詳細を返します。","zh":"通过 OpenAny REST 搜索 Hugging Face Hub 公开集合，用于发现由社区整理的模型、数据集、Spaces 和论文清单。可按标题关键词、所属用户或组织以及包含的资源条目筛选，并按热门、点赞或更新时间排序及游标分页，获取集合元数据、点赞数和嵌套条目列表。"},"effectContentHtml":"","executionMode":"sync","id":"61f18da2-c8b4-42ad-8789-905cf37051a8","includedContentHtml":"","inputs":[{"description":"Words in the collection title.","location":"query","name":"q","nullable":false,"required":false,"type":"string"},{"description":"Only collections of this user or organization.","location":"query","name":"owner","nullable":false,"required":false,"type":"string"},{"description":"Collections containing an item, e.g. `models/meta-llama/Llama-3.1-8B-Instruct` (comma-separated for several).","location":"query","name":"item","nullable":false,"required":false,"type":"string"},{"description":"`trending` (default), `upvotes` or `modified`.","enum_values":["trending","upvotes","modified"],"location":"query","name":"sort","nullable":false,"required":false,"type":"string"},{"description":"Results per page (default 20, max 100).","location":"query","name":"limit","nullable":false,"required":false,"type":"integer"},{"description":"`next_cursor` from the previous page; null on the last page.","location":"query","name":"cursor","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/hugging-face.png","method":"GET","name":"Hugging Face collections API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eHugging Face Collections API\u003c/h2\u003e\n\u003cp\u003eQuery public Hugging Face collections with optional q, owner, item (comma-separated resource IDs such as models/meta-llama/Llama-3.1-8B-Instruct), sort (trending, upvotes or modified), limit (default 20, max 100) and cursor parameters. Each collection includes owner details, upvote counts, timestamps and nested items[].\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\u003eGET query: optional q, owner, item (comma-separated), sort (trending, upvotes or modified), limit (default 20, max 100), cursor, raw=0, fields and fresh=1.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · Hugging Face collections 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\u003eDiscover curated model stacks\u003c/strong\u003e: Find community-maintained collections containing a flagship model or dataset using the item filter.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eTrack organization showcases\u003c/strong\u003e: Filter by owner to pull official release bundles published by AI labs on Hugging Face Hub.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eFeed downstream detail lookups\u003c/strong\u003e: Read items[].items[].id and type to chain into Model Details, Dataset Details, Space or Paper APIs.\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\u003eitems[].slug\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eUnique collection slug on Hugging Face Hub\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].title\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCollection display title\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].description\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eShort summary written by the collection owner\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].owner\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eUsername or organization owning the collection\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].owner_type\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eOwner account type such as user or org\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].upvotes\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCommunity upvote count for the collection\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].last_updated\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTimestamp of the most recent collection update\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].items[].id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eIdentifier of each linked model, dataset, Space or paper\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].items[].type\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eResource type of the linked collection item\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003enext_cursor\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eOpaque cursor for the next page, or null on the last page\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/huggingface/v1/collections \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode output=json \\\n  --data-urlencode q=llama\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/61f18da2-c8b4-42ad-8789-905cf37051a8\"\u003ePublished Hugging Face Collections 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\u003eHow do I find collections that include a specific model or dataset?\u003c/h3\u003e\n\u003cp\u003ePass the Hub item path in item, such as models/meta-llama/Llama-3.1-8B-Instruct; multiple items can be comma-separated.\u003c/p\u003e\n\u003ch3\u003eWhat sort orders are supported for collections?\u003c/h3\u003e\n\u003cp\u003esort accepts trending (default), upvotes or modified.\u003c/p\u003e\n\u003ch3\u003eHow does cursor pagination work on this endpoint?\u003c/h3\u003e\n\u003cp\u003ePass the returned next_cursor into the cursor parameter on the next request until next_cursor is null.\u003c/p\u003e\n\u003ch3\u003eHow many collections can I request per page?\u003c/h3\u003e\n\u003cp\u003elimit defaults to 20 and accepts up to 100 collections per page.\u003c/p\u003e\n\u003ch3\u003eDoes a collection response include private repositories?\u003c/h3\u003e\n\u003cp\u003eNo. The endpoint returns publicly visible Hub collections and their published item references.\u003c/p\u003e\n\u003ch3\u003eHow do caching and response trimming options work?\u003c/h3\u003e\n\u003cp\u003eOutput is JSON only. Pass fresh=1 to bypass the 24-hour cache, raw=0 to omit bulky raw blocks, or fields to select specific keys.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hugging-face/hugging-face-model-search-api\"\u003eHugging Face Model Search API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hugging-face/hugging-face-dataset-search-api\"\u003eHugging Face Dataset Search API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hugging-face/hugging-face-user-or-organization-api\"\u003eHugging Face User \u0026amp; Organization API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/hugging-face/hugging-face-collections-api?offering=61f18da2-c8b4-42ad-8789-905cf37051a8","providerId":"apish","publicPath":"/v1/agent-apis/apish/huggingface/v1/collections","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"output":"json","q":"llama"}},"response_body":{"cached":false,"count":20,"credits_used":1,"items":[{"description":"This collection hosts the transformers and original repos of the Meta Llama 3 and Llama Guard 2 releases","gating":true,"items":[{"downloads":132549,"id":"meta-llama/Meta-Llama-3-8B","likes":6780,"note":null,"position":0,"title":null,"type":"model"},{"downloads":319018,"id":"meta-llama/Meta-Llama-3-8B-Instruct","likes":5708,"note":"8B models\n","position":1,"title":null,"type":"model"},"… 2 more"],"last_updated":"2024-12-06T16:49:01.623Z","owner":"meta-llama","owner_type":"org","slug":"meta-llama/meta-llama-3-66214712577ca38149ebb2b6","theme":"orange","title":"Meta Llama 3","upvotes":1023,"url":"https://huggingface.co/collections/meta-llama/meta-llama-3-66214712577ca38149ebb2b6"},{"description":null,"gating":true,"items":[{"downloads":534018,"id":"meta-llama/Llama-3.1-8B","likes":2751,"note":null,"position":0,"title":null,"type":"model"},{"downloads":27522,"id":"meta-llama/Llama-3.1-70B","likes":449,"note":null,"position":1,"title":null,"type":"model"},"… 2 more"],"last_updated":"2024-12-13T09:25:04.176Z","owner":"meta-llama","owner_type":"org","slug":"meta-llama/metas-llama-31-models-and-evals-675bfd70e574a62dd0e40565","theme":"orange","title":"Meta's Llama 3.1 models \u0026 evals","upvotes":640,"url":"https://huggingface.co/collections/meta-llama/metas-llama-31-models-and-evals-675bfd70e574a62dd0e40565"},"… 18 more"],"next_cursor":"NmFlMjZlY2M0MWYxYjllMWUyMmJkMmEwLTA=","query":"llama","sort":"trending"}}],"seoDescription":"Get Hugging Face Collections data via REST or MCP powered by Apish. Pay per call, no subscription. Get collection display title and description in JSON.","updatedAt":"2026-12-03T02:43:36.519Z","usageInstructionsHtml":""}}