{"uid":"cap_balLrLtNGtex-MLf0Cii2","slug":"saylor-innovations-huggingface-model-detail-3a8b0a82","name":"Saylor Innovations HuggingFace Model Detail","description":"Hugging Face model detail by id - licence, parameter count and precision, downloads, likes, gated status, base model, languages, weight files and tags","url":"https://saylorinnovations.com/api/ai/hf-model?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Hub model id as org/name, e.g. Qwen/Qwen2.5-7B-Instruct, openai/whisper-large-v3"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Identifier of the record"},"url":{"type":"string","description":"Canonical URL"},"tags":{"type":["array","null"],"description":"Tags attached to the record"},"task":{"type":["string","null"]},"gated":{"type":"boolean"},"likes":{"type":["number","null"]},"author":{"type":"string","description":"Author name"},"source":{"type":"string","description":"Data source the values come from"},"created":{"type":["string","null"]},"library":{"type":["string","null"]},"license":{"type":["string","null"],"description":"License identifier"},"private":{"type":["boolean","null"]},"languages":{"type":["array","null"],"description":"Languages"},"base_model":{"type":["string","null"],"description":"Base model"},"file_count":{"type":["number","null"],"description":"Number of file"},"maintenance":{"type":["object","null"]},"weight_files":{"type":"number","description":"Weight files"},"downloads_30d":{"type":["number","null"],"description":"Downloads in the last 30 days"},"last_modified":{"type":["string","null"],"description":"Last modified"},"parameter_types":{"description":"Parameter types"},"parameters_total":{"type":["number","null"],"description":"Parameters total"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x3uyWyzeTo5oXVlknP3l2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches detailed metadata for a Hugging Face model by its hub ID, including license, parameter count, precision, downloads, likes, gated status, base model, languages, weight files, and tags.","exampleAgentPrompt":"Can you pull up the full details for the Hugging Face model Qwen/Qwen2.5-7B-Instruct — I need its license, parameter count, how many downloads it had in the last 30 days, whether it's gated, and what languages it supports?","exampleUseCases":[{"title":"Checking model license before deployment","prompt":"Before we use openai/whisper-large-v3 in our product, can you look it up on Hugging Face and tell me what license it has and whether it's gated?"},{"title":"Comparing model sizes for hardware planning","prompt":"I'm trying to decide between a few models — can you look up meta-llama/Llama-3.1-8B on Hugging Face and tell me the total parameter count, precision types, and how many weight files it has?"},{"title":"Assessing model popularity and activity","prompt":"How popular is mistralai/Mistral-7B-Instruct-v0.3 on Hugging Face? I want to know its download count over the last 30 days, total likes, when it was last modified, and who the author is."}],"resultDescription":"Returns a JSON object containing the model's hub ID, canonical URL, author, license identifier, total parameter count, parameter types/precision, 30-day download count, likes, gated status, privacy status, base model, supported languages, ML task, library, number of files, number of weight files, tags, creation date, and last modified date.","failureModes":["Invalid or non-existent model ID returns an error or empty result","Model ID must be in 'org/name' format — bare model names without org prefix may fail","Private or restricted models may return limited metadata","Network timeouts if Hugging Face Hub is slow or unavailable","Gated models may not expose all fields without appropriate credentials"],"whenToPreferThis":"Use this endpoint when you need structured, machine-readable metadata about a specific Hugging Face model — particularly license, parameters, and download stats — without scraping the HuggingFace website or using the raw HF API directly. Ideal for agents doing model selection, compliance checks, or capability assessments that need clean JSON output at low cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:48.368Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-huggingface-model-detail-3a8b0a82"}