{"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":"d1d54fad-0e15-4e25-8242-ba96ba62967c","catalogType":"api","categories":["developer","data"],"dataPlatform":"hugging-face","dataPlatformLogoUrl":"https://api.sh/logos/hugging-face.png","dataPlatformTranslations":{},"dataProduct":"developer-resources","description":"Get Hugging Face Model Details via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, and retrieve structured data including full model identifier, pipeline tag, library, declared model license identifiers, and gated to audit model governance and licensing, check serving and quantization ecosystem, and chain into repo-level inspection.","descriptionTranslations":{"ar":"افحص البيانات الوصفية لنموذج عام على Hugging Face عبر OpenAny REST لتدقيق بطاقة النموذج والتراخيص وشروط التقييد وملفات المستودع ومزوّدي الاستدلال المدرجين. أرسل معرّف owner/name أو رابط Hub للحصول على المعمارية والنماذج الأساسية ومعلومات المعاملات وإجمالي التنزيلات دون تشغيل الاستدلال.","ja":"OpenAny REST で Hugging Face 公開モデルの詳細メタデータを取得し、モデルカードやライセンス、ゲート条件、ファイル数、推論プロバイダー情報を確認できます。owner/name 形式の ID または Hub URL を指定すると、推論を実行せずに構造化 JSON で詳細を返します。","zh":"通过 OpenAny REST 查看 Hugging Face 公开模型详情，用于审计模型卡片、核验许可证与门控条款、检查仓库文件及已列出的推理服务商。传入 owner/name 模型 ID 或 Hub 链接，即可在不执行推理的情况下获取架构、基础模型、参数信息、下载量与衍生模型统计。"},"effectContentHtml":"","executionMode":"sync","id":"8c295f0e-d0f0-4a2a-a1de-f825e4154df7","includedContentHtml":"","inputs":[{"description":"The model id (owner/name) or its huggingface.co link.","location":"query","name":"id","nullable":false,"required":true,"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 details API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eHugging Face Model Details API\u003c/h2\u003e\n\u003cp\u003ePass required id as an owner/name model slug (such as meta-llama/Llama-3.1-8B-Instruct) or a huggingface.co model URL. The JSON response returns model card fields, licenses, gated requirements, architectures, base_models, download counts, files_count and published inference_providers[].\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\u003eRequired query: id (owner/name or huggingface.co link). Optional 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 details 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\u003eAudit model governance and licensing\u003c/strong\u003e: Verify licenses, gated flags, base_models and card_data before approving a model for production.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCheck serving and quantization ecosystem\u003c/strong\u003e: Inspect inference_providers[], gguf metadata and derived_models counts for deployment readiness.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eChain into repo-level inspection\u003c/strong\u003e: Follow up with Repo File Tree, Commit History and Discussions \u0026amp; PRs APIs using the same model ID.\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\u003eid\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eFull model identifier (owner/name)\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eauthor\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\u003epipeline_tag\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrimary Hugging Face task tag such as text-generation\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elibrary\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrimary framework or library such as transformers\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elicenses\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDeclared model license identifiers\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003egated\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAccess gating status such as manual, auto or false\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edownloads_last_month\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported downloads over the last 30 days\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efiles_count\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTotal number of files in the model repository\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003einference_providers[].provider\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePublished inference provider name serving the model\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eurl\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCanonical Hugging Face Hub URL for the model\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/model \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode id=meta-llama/Llama-3.1-8B-Instruct \\\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/8c295f0e-d0f0-4a2a-a1de-f825e4154df7\"\u003ePublished Hugging Face Model Details 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\u003eDoes this API run model inference or generate text?\u003c/h3\u003e\n\u003cp\u003eNo. It retrieves public catalog metadata, model card fields and repository references only.\u003c/p\u003e\n\u003ch3\u003eWhat formats can I pass in the id parameter?\u003c/h3\u003e\n\u003cp\u003ePass an owner/name identifier such as meta-llama/Llama-3.1-8B-Instruct or a full huggingface.co model URL.\u003c/p\u003e\n\u003ch3\u003eHow can I check if a model requires gated license approval?\u003c/h3\u003e\n\u003cp\u003eInspect the gated field along with card_data.extra_gated_prompt and card_data.extra_gated_fields when present.\u003c/p\u003e\n\u003ch3\u003eDoes it show which inference providers host the model?\u003c/h3\u003e\n\u003cp\u003eYes. inference_providers[] lists published providers, provider_id values and serving status when available.\u003c/p\u003e\n\u003ch3\u003eHow do I list every weight file and size in the model repository?\u003c/h3\u003e\n\u003cp\u003eUse the Hugging Face Repo File Tree API with the same model ID to retrieve full paths, sizes and download URLs.\u003c/p\u003e\n\u003ch3\u003eHow do caching and payload 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-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-repository-file-tree-api\"\u003eHugging Face Repo File Tree 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\u003c/ul\u003e\n","pagePath":"/markets/apis/hugging-face/hugging-face-model-details-api?offering=8c295f0e-d0f0-4a2a-a1de-f825e4154df7","providerId":"apish","publicPath":"/v1/agent-apis/apish/huggingface/v1/model","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"id":"meta-llama/Llama-3.1-8B-Instruct","output":"json"}},"response_body":{"architectures":["LlamaForCausalLM"],"arxiv":["2204.05149"],"author":"meta-llama","base_model_relation":"finetune","base_models":["meta-llama/Llama-3.1-8B"],"cached":false,"card_data":{"base_model":"meta-llama/Meta-Llama-3.1-8B","extra_gated_button_content":"Submit","extra_gated_description":"The information you provide will be collected, stored, processed and shared in accordance with the [Meta Privacy Policy](https://www.faceboo…","extra_gated_fields":{"Affiliation":"text","By clicking Submit below I accept the terms of the license and acknowledge that the information I provide will be collected stored processed and shared in accordance with the Meta Privacy Policy":"checkbox","Country":"country","Date of birth":"date_picker","First Name":"text","Job title":{"options":["Student","Research Graduate","… 4 more"],"type":"select"},"Last Name":"text","geo":"ip_location"},"extra_gated_prompt":"### LLAMA 3.1 COMMUNITY LICENSE AGREEMENT\nLlama 3.1 Version Release Date: July 23, 2024\n\"Agreement\" means the terms and conditions for use, …","language":["en","de","… 6 more"],"license":"llama3.1","pipeline_tag":"text-generation","tags":["facebook","meta","… 3 more"]},"created_at":"2024-07-18T08:56:00.000Z","credits_used":1,"datasets":[],"derived_models":{"adapter":3029,"finetune":3306,"merge":105,"quantized":956},"disabled":false,"downloads_all_time":192541517,"downloads_last_month":4475436,"files":[".gitattributes","LICENSE","… 15 more"],"files_count":17,"gated":"manual","gguf":null,"id":"meta-llama/Llama-3.1-8B-Instruct","inference":"warm","inference_providers":[{"provider":"novita","provider_id":"meta-llama/llama-3.1-8b-instruct","status":"live","task":"conversational"},{"provider":"featherless-ai","provider_id":"meta-llama/Llama-3.1-8B-Instruct","status":"live","task":"conversational"},"… 1 more"],"languages":["en","de","… 6 more"],"last_modified":"2024-09-25T17:00:57.000Z","library":"transformers","licenses":["llama3.1"],"likes":8780,"model_type":"llama","name":"Llama-3.1-8B-Instruct","parameters":8030261248,"parameters_by_dtype":{"BF16":8030261248},"pipeline_tag":"text-generation","private":false,"regions":["us"],"sha":"0e9e39f249a16976918f6564b8830bc894c89659","spaces":["pollen-robotics/Reachy_Mini","pliny-the-prompter/obliteratus","… 98 more"],"spaces_listed":100,"tags":["transformers","safetensors","… 24 more"],"transformers_info":{"auto_model":"AutoModelForCausalLM","pipeline_tag":"text-generation","processor":"AutoTokenizer"},"trending_score":60,"url":"https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct","used_storage_bytes":32123357950,"widget_examples":[{"text":"Hi, what can you help me with?"},{"text":"What is 84 * 3 / 2?"},"… 2 more"],"…":"5 more fields"}}],"seoDescription":"Get Hugging Face Model Details via REST or MCP powered by Apish. Pay per call, no subscription. Get full model identifier and pipeline tag in JSON.","updatedAt":"2026-12-03T02:43:36.885Z","usageInstructionsHtml":""}}