{"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":"4221bcba-e958-46a2-8b4d-bc1f6add21e7","catalogType":"api","categories":["developer","data"],"dataPlatform":"hugging-face","dataPlatformLogoUrl":"https://api.sh/logos/hugging-face.png","dataPlatformTranslations":{},"dataProduct":"developer-resources","description":"Search Hugging Face Model via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as limit, output, q, and retrieve structured data including model identifier, primary task pipeline tag, library, declared license identifiers, and hub trending score to shortlist edge or local models, and find hosted inference candidates.","descriptionTranslations":{"ar":"ابحث في النماذج العامة على Hugging Face Hub عبر OpenAny REST لاكتشاف الأوزان المفتوحة ومقارنة النماذج المضبوطة حسب القدرات أو حجم المعاملات. اجمع بين الكلمات المفتاحية وفلاتر المهمة والمكتبة واللغة والترخيص ومجموعة البيانات والنموذج الأساسي وحدود المعاملات ومزوّد الاستدلال مع الفرز والتصفح بالمؤشر بصيغة JSON.","ja":"OpenAny REST で Hugging Face Hub の公開モデルを検索し、タスク・ライブラリ・言語・ライセンス・ベースモデル・パラメータ数・推論プロバイダーで候補を絞り込めます。トレンドやダウンロード数などの並び替えとカーソルページングでメタデータ一覧を取得できます。","zh":"通过 OpenAny REST 搜索 Hugging Face Hub 公开模型，用于发现开源权重、比较微调版本并按能力或参数规模筛选候选模型。可组合关键词以及任务、框架、语言、许可证、训练数据集、基础模型、参数上下限、门控状态与推理服务商筛选，并支持排序和游标分页。"},"effectContentHtml":"","executionMode":"sync","id":"14a82141-6894-469c-b042-15a4a81d015b","includedContentHtml":"","inputs":[{"description":"Words in the model id, e.g. `llama`, `whisper`.","location":"query","name":"q","nullable":false,"required":false,"type":"string"},{"description":"Only models of this user or organization, e.g. `meta-llama`.","location":"query","name":"author","nullable":false,"required":false,"type":"string"},{"description":"Pipeline tag, e.g. `text-generation`, `text-to-image`, `automatic-speech-recognition`, `feature-extraction`. Also accepted as `pipeline_tag`.","location":"query","name":"task","nullable":false,"required":false,"type":"string"},{"description":"Library, e.g. `transformers`, `diffusers`, `gguf`, `mlx`, `sentence-transformers`.","location":"query","name":"library","nullable":false,"required":false,"type":"string"},{"description":"Language codes, comma-separated, e.g. `en,fr`.","location":"query","name":"language","nullable":false,"required":false,"type":"string"},{"description":"License ids, comma-separated, e.g. `apache-2.0`, `mit`.","location":"query","name":"license","nullable":false,"required":false,"type":"string"},{"description":"Trained on this dataset id, e.g. `HuggingFaceFW/fineweb`.","location":"query","name":"dataset","nullable":false,"required":false,"type":"string"},{"description":"Derived from this model id (fine-tunes, quantizations, adapters).","location":"query","name":"base_model","nullable":false,"required":false,"type":"string"},{"description":"Only models with at least this many parameters, e.g. `1B`, `500M`, `7.5B`.","location":"query","name":"min_params","nullable":false,"required":false,"type":"string"},{"description":"Only models with at most this many parameters, e.g. `3B`, `70B`.","location":"query","name":"max_params","nullable":false,"required":false,"type":"string"},{"description":"Any other Hub tags, comma-separated, e.g. `gguf,conversational`.","location":"query","name":"tags","nullable":false,"required":false,"type":"string"},{"description":"inference","enum_values":["warm"],"location":"query","name":"inference","nullable":false,"required":false,"type":"string"},{"description":"Only models served by this inference provider, e.g. `together`, `groq`.","location":"query","name":"provider","nullable":false,"required":false,"type":"string"},{"description":"`true` or `false`: only gated or only open models.","enum_values":["true","false"],"location":"query","name":"gated","nullable":false,"required":false,"type":"string"},{"description":"Order: `trending` (default), `downloads`, `likes`, `created` or `modified` (newest first).","enum_values":["trending","downloads","likes","created","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 model search API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eHugging Face Model Search API\u003c/h2\u003e\n\u003cp\u003eQuery public Hugging Face models with optional q, author, task, library, language, license, dataset, base_model, min_params, max_params, tags, inference, provider, gated, sort (trending, downloads, likes, created or modified), limit (default 20, max 100) and cursor. This lookup returns catalog metadata rather than running inference.\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, author, task, library, language, license, dataset, base_model, min_params/max_params, tags, inference, provider, gated, sort (trending/downloads/likes/created/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 model search 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\u003eShortlist edge or local models\u003c/strong\u003e: Combine library=gguf, max_params=7B and license=apache-2.0 to find compact permissive weights.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eTrack fine-tunes of a base model\u003c/strong\u003e: Filter by base_model and sort=downloads to see the most popular adapters, merges and quantizations.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eFind hosted inference candidates\u003c/strong\u003e: Pass provider (such as together or groq) and task=text-generation to list models with published providers.\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[].id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eModel identifier (owner/name)\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].author\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eModel owner username or organization\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].pipeline_tag\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrimary task pipeline tag\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].library\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrimary library such as transformers or gguf\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].licenses\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDeclared license identifiers\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].downloads_last_month\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported downloads in the past 30 days\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].likes\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCommunity like count on the Hub\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].gated\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWhether the model requires gated access\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].trending_score\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eHub trending score\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/models \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode limit=20 \\\n  --data-urlencode output=json \\\n  --data-urlencode q=llama \\\n  --data-urlencode sort=downloads \\\n  --data-urlencode task=text-generation\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/14a82141-6894-469c-b042-15a4a81d015b\"\u003ePublished Hugging Face Model Search 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 filter models by parameter count?\u003c/h3\u003e\n\u003cp\u003eUse min_params and max_params with human-readable sizes such as 500M, 1B, 7.5B or 70B.\u003c/p\u003e\n\u003ch3\u003eCan I find fine-tunes or GGUF quantizations derived from a specific model?\u003c/h3\u003e\n\u003cp\u003eYes. Pass the parent model ID in base_model, and optionally combine it with library=gguf or tags.\u003c/p\u003e\n\u003ch3\u003eHow do I filter for models served by a specific inference provider?\u003c/h3\u003e\n\u003cp\u003ePass the provider slug in provider (such as together or groq) or use the inference filter.\u003c/p\u003e\n\u003ch3\u003eWhat sort orders and page limits are supported?\u003c/h3\u003e\n\u003cp\u003esort accepts trending (default), downloads, likes, created or modified; limit defaults to 20 with a maximum of 100.\u003c/p\u003e\n\u003ch3\u003eDoes this endpoint execute model inference?\u003c/h3\u003e\n\u003cp\u003eNo. It searches catalog metadata only; pass items[].id to the Hugging Face Model Details API for full model cards.\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 skip 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-details-api\"\u003eHugging Face Model Details API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hugging-face/hugging-face-open-llm-leaderboard-api\"\u003eHugging Face Open LLM Leaderboard API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hugging-face/hugging-face-spaces-search-api\"\u003eHugging Face Spaces Search API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/hugging-face/hugging-face-model-search-api?offering=14a82141-6894-469c-b042-15a4a81d015b","providerId":"apish","publicPath":"/v1/agent-apis/apish/huggingface/v1/models","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"limit":"20","output":"json","q":"llama","sort":"downloads","task":"text-generation"}},"response_body":{"cached":false,"count":20,"credits_used":1,"items":[{"arxiv":["2204.05149"],"author":"meta-llama","base_models":["meta-llama/Llama-3.1-8B"],"created_at":"2024-07-18T08:56:00.000Z","datasets":[],"downloads_last_month":4475436,"gated":"manual","id":"meta-llama/Llama-3.1-8B-Instruct","inference":null,"languages":["en","de","… 6 more"],"last_modified":"2024-09-25T17:00:57.000Z","library":"transformers","licenses":["llama3.1"],"likes":8780,"name":"Llama-3.1-8B-Instruct","pipeline_tag":"text-generation","private":false,"regions":["us"],"sha":"0e9e39f249a16976918f6564b8830bc894c89659","tags":["transformers","safetensors","… 24 more"],"trending_score":60,"url":"https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct"},{"arxiv":[],"author":"meta-llama","base_models":[],"created_at":"2024-04-17T09:35:12.000Z","datasets":[],"downloads_last_month":319018,"gated":"manual","id":"meta-llama/Meta-Llama-3-8B-Instruct","inference":null,"languages":["en"],"last_modified":"2025-06-18T23:49:51.000Z","library":"transformers","licenses":["llama3"],"likes":5708,"name":"Meta-Llama-3-8B-Instruct","pipeline_tag":"text-generation","private":false,"regions":["us"],"sha":"8afb486c1db24fe5011ec46dfbe5b5dccdb575c2","tags":["transformers","safetensors","… 15 more"],"trending_score":47,"url":"https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct"},"… 18 more"],"next_cursor":"eyIkb3IiOlt7InRyZW5kaW5nU2NvcmUiOjEsIl9pZCI6eyIkZ3QiOiI2NjFmOTdiZTljYWU5M2MwMjM5M2U4ZWYifX0seyJ0cmVuZGluZ1Njb3JlIjp7IiRsdCI6MX19LHsidHJlbmRp…","query":"llama","sort":"trending"}}],"seoDescription":"Search Hugging Face Model via REST or MCP powered by Apish. Pay per call, no subscription. Ready for developers and AI agents with one API key.","updatedAt":"2026-12-03T02:43:36.988Z","usageInstructionsHtml":""}}