# Fetchai Hosting v2 API

**Canonical:** https://apis.io/apis/fetchai/fetchai-hosting-v2-api/  
**Provider:** Fetchai — https://apis.io/providers/fetchai/  
**Base URL:** https://agentverse.ai  
**Documentation:** https://www.fetch.ai/docs

Fetchai Hosting v2 API is one of 4 APIs that [Fetchai](https://apis.io/providers/fetchai/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 2 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 2 JSON Schemas.

The Hosting v2 API from Fetchai, for hosting v2.

## Operations (23)

| Method | Path | Summary |
|---|---|---|
| GET | `/v2/hosting/secrets` | Get All Secrets |
| GET | `/v2/hosting/{address}/secrets` | Get Secrets |
| GET | `/v2/hosting/{address}/secrets/{name}` | Get Specific Secret |
| PUT | `/v2/hosting/{address}/secrets/{name}` | Update Secret |
| DELETE | `/v2/hosting/{address}/secrets/{name}` | Delete Secret Endpoint |
| GET | `/v2/hosting/{address}/code` | Get Code |
| PUT | `/v2/hosting/{address}/code` | Update Code |
| GET | `/v2/hosting/storage` | Get All Storage |
| GET | `/v2/hosting/{address}/storage` | Get Storage |
| GET | `/v2/hosting/{address}/storage/{key}` | Get Storage By Key |
| PUT | `/v2/hosting/{address}/storage/{key}` | Update Storage |
| DELETE | `/v2/hosting/{address}/storage/{key}` | Delete Storage |
| GET | `/v2/hosting/{address}/logs` | Get Agent Logs |
| DELETE | `/v2/hosting/{address}/logs` | Delete Agent Logs |
| POST | `/v2/hosting/submit` | Submit Message Envelope |
| HEAD | `/v2/hosting/submit` | Agent Readiness Probe |
| POST | `/v2/hosting` | Create Hosted Agent |
| GET | `/v2/hosting` | List Hosted Agents |
| GET | `/v2/hosting/{address}` | Get Hosted Agent |
| DELETE | `/v2/hosting/{address}` | Delete Agent |
| POST | `/v2/hosting/{address}/duplicate` | Duplicate Hosted Agent |
| POST | `/v2/hosting/{address}/start` | Start Agent |
| POST | `/v2/hosting/{address}/stop` | Stop Agent |

## Machine-readable artifacts (3)

- **OpenAPI** — https://artifacts.apis.io/fetchai/openapi/fetchai-hosting-v2-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/fetchai/json-schema/fetchai-envelope-schema.json
- **JSONSchema** — https://artifacts.apis.io/fetchai/json-schema/fetchai-agent-v2-schema.json

## Other Fetchai APIs (3)

- [Fetchai Hosting v1 API](https://apis.io/apis/fetchai/fetchai-hosting-v1-api/)
- [Fetchai Internal API](https://apis.io/apis/fetchai/fetchai-internal-api/)
- [Fetchai Search API](https://apis.io/apis/fetchai/fetchai-search-api/)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/fetchai` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/fetchai/fetchai-hosting-v2-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/fetchai/.
