{"description":"Searches the Hugging Face Hub's models like its search page: model id, task (pipeline), downloads, likes, library and link. Up to 20 models, most downloaded first.","effect":"read","id":"huggingface.co/search-models","keywords":["hugging face","huggingface","ai models","machine learning","ml model","transformers","llm","model hub","open weights","embeddings","whisper","diffusion"],"output":{"schema":{"properties":{"query":{"type":"string"},"results":{"items":{"properties":{"name":{"type":"string"},"url":{"type":"string"}},"required":["name","url"],"type":"object"},"type":"array"}},"required":["query","results"],"type":"object"},"value":"{query: params.query, results: (steps.search.list || `[]`)[:20].{name: id, task: pipeline_tag || `null`, downloads: downloads || `null`, likes: likes || `null`, library: library_name || `null`, url: join('', ['https://huggingface.co/', id])}}"},"params":{"additionalProperties":false,"properties":{"query":{"description":"What to search for, e.g. 'whisper'","maxLength":200,"minLength":1,"type":"string"}},"required":["query"],"type":"object"},"provenance":{"method":"har","notes":"The Hub's public models API (/api/models), the one its model search uses.","recorded_at":"2026-11-08T19:11:49.690Z","recorded_by":"wield-forge family devregistries (written by hand)"},"requires_login":false,"schema":"https://wield.run/schema/recipe/v1.json","site":{"country":"US","id":"huggingface.co","language":"en","name":"Hugging Face","origin":"https://huggingface.co","origins":["https://huggingface.co"]},"steps":[{"description":"The Hub's public models API (/api/models), the one its model search uses.","expect":{"content_type":"json","status":[200]},"extract":{"json":{"list":"@"}},"id":"search","request":{"headers":{"Accept":"application/json"},"method":"GET","query":{"limit":"20","search":"{{params.query}}","sort":"downloads"},"url":"/api/models"}}],"task":"Search AI models on Hugging Face","tos":{"notes":"Not reviewed. One public API search per call, the same data the site's search shows.","reviewed":false},"verify":{"checks":["length(output.results) > `0`","length(output.results[?starts_with(url, 'https://huggingface.co/')]) == length(output.results)"],"example_params":{"query":"whisper"},"max_ms":5000},"version":1}