{"uid":"cap_G9TWz4BFre_26mGZ2pjQn","slug":"tokenguard-dev-models-endpoint-99c32e53","name":"Tokenguard /dev/models Endpoint","description":"Search the Hugging Face Hub for models or datasets (downloads, likes, task, library, tags) or fetch one by id","url":"https://eltociear-tokenguard.hf.space/dev/models","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"kind":{"enum":["models","datasets"],"type":"string","description":"Default models"},"limit":{"type":"integer","description":"1-30 results (default 10)"},"query":{"type":"string","description":"Search terms"},"model_id":{"type":"string","description":"Fetch one by id, e.g. meta-llama/Llama-3-8B"}}},"responseSchema":{"type":"json","example":{"kind":"models","count":2,"query":"llama","results":[{"id":"meta-llama/Llama-3-8B","downloads":1200000,"pipeline_tag":"text-generation"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KjyWr4tqgBDDmQZbHy5Mr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches and lists available AI/ML models on Hugging Face by keyword query, returning model IDs, download counts, and pipeline tags","exampleAgentPrompt":"Search for available Llama models on Hugging Face and show me the top results including their download counts and pipeline tags.","exampleUseCases":null,"resultDescription":"A JSON object with a 'kind' field set to 'models', a 'count' of results, the original query string, and a 'results' array where each item contains model ID, number of downloads, and pipeline tag (e.g. text-generation).","failureModes":["Empty query returns no results or error","Query string matches no known models, returning count=0 and empty results array","Service unavailable on Hugging Face Space (cold start latency or timeout)","Payment failure via x402 micropayment protocol returns 402 status","Malformed POST body returns 400 or unstructured error response"],"whenToPreferThis":"Use this endpoint when an agent needs to discover or search Hugging Face models by keyword, retrieve download statistics, or identify which pipeline tag a model belongs to — particularly useful for model selection workflows or when an agent needs to enumerate available open-source LLMs, embedding models, or other ML models by name.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T09:56:36.697Z","isFirstParty":false}