{"uid":"cap_1l_aZGjx3Yh0qCHBabEmR","slug":"saylor-innovations-hugging-face-model-search-4bdd2b55","name":"Saylor Innovations Hugging Face Model Search","description":"Search Hugging Face models by keyword and task - downloads, likes, pipeline task, library, creation date and tags, sorted by downloads, likes or trending","url":"https://saylorinnovations.com/api/ai/hf-models?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":["q"],"properties":{"q":{"type":"string","description":"Model name or keyword, e.g. llama, whisper, embedding"},"sort":{"type":"string","description":"optional downloads (default), likes, trendingScore, lastModified, createdAt"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["query","models"],"properties":{"sort":{"type":"string","description":"Sort order applied"},"task":{"type":["string","null"]},"count":{"type":"number","description":"Number of items returned"},"query":{"type":"string","description":"The query as the server interpreted it"},"models":{"type":"array"},"source":{"type":"string","description":"Data source the values come from"}}}}}}},"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_D1KvZzPV-xNYitQqe74aY","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":"Search Hugging Face models by keyword or task, returning metadata like downloads, likes, pipeline task, library, creation date, and tags, sorted by various criteria","exampleAgentPrompt":"Search for the most downloaded embedding models on Hugging Face — I want to see their pipeline task, library, download counts, and tags.","exampleUseCases":[{"title":"Finding top speech recognition models","prompt":"Find me the most downloaded Whisper models on Hugging Face and show me their pipeline task, library, and download counts."},{"title":"Discovering trending instruct LLMs","prompt":"What are the currently trending instruction-tuned language models on Hugging Face? Sort by trending score and show me their tags and likes."},{"title":"Researching image generation models","prompt":"Search Hugging Face for diffusion models — I want to compare them by number of likes and see what libraries they use."}],"resultDescription":"A JSON object containing the interpreted query, sort order applied, data source, item count, and an array of model objects with metadata including model ID, download count, likes, pipeline task, library name, creation date, and tags.","failureModes":["Missing required query parameter 'q' returns a 400 error","Invalid sort value may fall back to default (downloads) or return an error","No models matching the keyword returns an empty models array","Hugging Face API unavailability may cause upstream errors","Rate limiting or payment failure returns a 402 response"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover or compare Hugging Face models by keyword, task, or popularity metrics. Prefer it over manually browsing Hugging Face when building agents that recommend models, benchmark AI tools, or need up-to-date download and trending statistics for a given model type.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:50.657Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-hugging-face-model-search-4bdd2b55"}