# Hugging face spaces search

Search Hugging Face Spaces (hosted AI demo apps) by name, author or tag: Space id, SDK (gradio, streamlit, docker, static), likes, tags and creation date. Takes search, author, filter and more, all optional.

Search Hugging Face Spaces (hosted AI demo apps) by name, author or tag: Space id, SDK (gradio, streamlit, docker, static), likes, tags and creation date. Sort by likes or trending score to find popular demos of a model or task.

- Tool ID: `huggingface/spaces-search`
- Name in the catalog: Hugging Face Spaces search
- Provider: [Hugging Face](/providers/huggingface.md)
- Capability: [GitHub, npm & PyPI](/tools/developer-data/code.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "search": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "Words in the Space id, e.g. 'tts'"
    },
    "author": {
      "type": "string",
      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,95}$",
      "description": "User or organisation, e.g. 'black-forest-labs'"
    },
    "filter": {
      "type": "string",
      "pattern": "^[A-Za-z0-9:._/-]{2,80}$",
      "description": "Any Space tag, e.g. 'mcp-server'"
    },
    "sort": {
      "type": "string",
      "enum": [
        "likes",
        "trendingScore",
        "lastModified",
        "createdAt"
      ],
      "default": "likes",
      "description": "Sort key, always descending, e.g. 'trendingScore'"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 20,
      "description": "Spaces to return, e.g. 20"
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "huggingface/spaces-search",
  "input": {
    "search": "tts",
    "limit": 5
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Hugging Face Hub metadata; each repository carries its own licence.

[Provider documentation](https://huggingface.co/docs/hub/api)

[REST inspection](https://api.agentik.cc/v1/tools/huggingface/spaces-search) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/huggingface/spaces-search) · [Agent index](/llms.txt)
