WanAPIs · Example Payload

Wanapis Embedding Example

LLM GatewayAI API GatewayOpenAI-CompatibleModel MarketplaceLLMGPTClaudeGeminiDeepSeekImage-GenerationVideo GenerationAudioMulti-ModalRoutingFailover

Wanapis Embedding Example is an example object payload from WanAPIs, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.wanapis.com/v1/embeddings",
    "headers": {
      "Authorization": "Bearer sk-wanapis-REDACTED",
      "Content-Type": "application/json"
    },
    "body": {
      "model": "text-embedding-3-large",
      "input": ["API governance", "API gateway", "model marketplace"],
      "encoding_format": "float"
    }
  },
  "response": {
    "object": "list",
    "model": "text-embedding-3-large",
    "data": [
      { "object": "embedding", "index": 0, "embedding": [0.0123, -0.0456, 0.0789, "...truncated..."] },
      { "object": "embedding", "index": 1, "embedding": [0.0211, -0.0312, 0.0907, "...truncated..."] },
      { "object": "embedding", "index": 2, "embedding": [-0.0098, 0.0445, 0.0156, "...truncated..."] }
    ],
    "usage": {
      "prompt_tokens": 9,
      "total_tokens": 9
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/wanapis-embedding-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.