# Saylor Innovations Hugging Face Model Search

> Saylor Innovations Hugging Face Model Search is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Search Hugging Face models by keyword or task, returning metadata like downloads, likes, pipeline task, library, creation date, and tags, sorted by various criteria

## Facts

- Endpoint: GET https://saylorinnovations.com/api/ai/hf-models?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-hugging-face-model-search-4bdd2b55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1l_aZGjx3Yh0qCHBabEmR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-hugging-face-model-search-4bdd2b55
```

Example prompt: Search for the most downloaded embedding models on Hugging Face — I want to see their pipeline task, library, download counts, and tags.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Search Hugging Face models by keyword and task - downloads, likes, pipeline task, library, creation date and tags, sorted by downloads, likes or trending

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-hugging-face-model-search-4bdd2b55/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
