API for developers
The index, the exchange rate, oil and the daily price of every product, over HTTP or MCP. Everything is read-only and answers in JSON or CSV.
Quick start
The base URL is https://vpindex.org. There are two levels:
- Public: the index and each product's page in the price wiki. No key and no account.
- With a key: the daily history of every product, bulk pulls, the exchange rate, oil, and the availability and promotion series. Needs the Analyst or Institutional plan.
Try it without a key:
curl "https://vpindex.org/api/v1/series/vpi-usd?start=2026-11-17"With your key:
curl -H "Authorization: Bearer vpi_..." "https://vpindex.org/api/v1/skus?q=harina+pan"You create the key in your account, under API and MCP. The OpenAPI 3.1 spec of the public part is at /api/v1/openapi.json.
Public API, no key
Limited per IP address: 60 calls a minute and 5,000 a day. Prices are what the price wiki shows: the latest posted price and the weekly median.
| Route | What it returns |
|---|---|
| GET /api/v1/series | The public series: VPI in bolivares and dollars and the category indices. |
| GET /api/v1/series/{id} | One series as [date, value] pairs, full history. Optional: start, end (YYYY-MM-DD), format=csv. |
| GET /api/v1/categories | Categories and chains with their product counts. |
| GET /api/v1/products | Search the wiki: q, category, chain, limit (max 50), cursor. |
| GET /api/v1/products/{id} | One product: latest price, weekly median line and its changes. format=csv for the line. |
| POST /api/mcp | Keyless MCP server with the same tools. |
Example series response:
{
"id": "vpi-usd",
"name": "Venezuela Price Index, US dollars (base 100 = 2026-07-03)",
"group": "index",
"unit": "index",
"frequency": "daily",
"columns": ["date", "value"],
"data": [["2026-11-17", 96.5168], ["2026-11-18", 96.5052]]
}Keys and authentication
With the Analyst or Institutional plan you create up to 5 keys in your account. The key is shown once; store it. Send it on every call:
Authorization: Bearer vpi_...Keys stop working if you cancel the subscription, and you can revoke them in your account at any time. A key cannot create or revoke keys: that only works signed in on the web. Signed in at vpindex.org, the browser can also call the API with your cookie.
Prices by product (key)
| Route | What it returns |
|---|---|
| GET /api/v1/catalog | The datasets, their coverage and dates. |
| GET /api/v1/series?group= | Series by group: index, category (OTC pharmacy, appliances, alcohol), fx, oil, availability, promotions, breadth. |
| GET /api/v1/skus | Search listings. Filters: q, category, chain, promo=1, in_stock=1|0, sort, dir, limit (max 100), cursor. |
| GET /api/v1/skus/{id} | One listing with its daily history: date, usd, shelf_ves, paid_ves, in_stock, suspect. Optional: start, end, format=csv. |
| GET /api/v1/usage | Your calls today, your rows this month and what is left. Does not count as a call. |
| GET /api/v1/custom-indexes | The custom indexes you saved on the Economy page. Does not count as a call. |
| GET /api/v1/custom-indexes/{id} | One saved index, recomputed on today's data: date, custom_index, vpi_bs_rebased. Optional: format=csv (adds each component; product prices past the first 25 count as rows, one per product per day) or format=spec (the full saved index). |
sort takes: name, usd, shelf_ves, chg_1d, chg_7d, chg_30d, ves_chg_1d, ves_chg_7d, ves_chg_30d. Searches page with next_cursor: pass it as cursor for the next page.
shelf_ves is the shelf price, paid_ves what you pay after discounts, usd is the price in dollars. suspect flags a row our checks find doubtful; we never delete it.
import requests
H = {"Authorization": "Bearer vpi_..."}
r = requests.get("https://vpindex.org/api/v1/skus", params={"q": "harina pan", "chain": "farmatodo"}, headers=H)
sku = r.json()["data"][0]["id"]
hist = requests.get(f"https://vpindex.org/api/v1/skus/{sku}", params={"start": "2026-10-01"}, headers=H).json()
print(hist["columns"], hist["history"][:3])Bulk pulls
POST /api/v1/pulls returns the daily history of many listings in one call, streamed. Name at least one of skus, categories or chains.
curl -X POST "https://vpindex.org/api/v1/pulls" \
-H "Authorization: Bearer vpi_..." \
-H "Content-Type: application/json" \
-d '{"chains": ["farmatodo"], "categories": ["household"], "start": "2026-11-18", "end": "2026-11-24", "format": "csv"}' \
-o farmatodo-household.csv| Field | What it does |
|---|---|
| skus | categories | chains | Lists of ids (from /skus and /api/v1/categories). Up to 5,000 skus, 50 categories, 50 chains. |
| start, end | Date range, YYYY-MM-DD. |
| fields | Columns: id, name, brand, brand_source, category, chain, date, usd, shelf_ves, paid_ves, in_stock, suspect. Default id, date, usd, shelf_ves, paid_ves, in_stock. |
| format | json (default), csv or ndjson. |
| preview | true returns the first 50 rows and the total, without spending monthly rows. Use it before a large pull. |
On the Analyst plan, one pull returns up to 250,000 rows. If there are more, the response says so (truncated: true and next_cursor, or the X-VPI-Truncated and X-VPI-Next-Cursor headers on CSV): repeat the same selection with cursor set to next_cursor for the next page. A page's rows are charged when its download starts, and one request has 300 seconds: for very large pulls, page or split by chain or date. GET /api/v1/pulls lists your past pulls.
MCP for agents
The MCP server speaks streamable HTTP. Without a key, /api/mcp gives the public tools. With a key it offers nine tools: list_series, get_series, list_categories, list_chains, search_skus, get_sku_history, preview_pull, run_pull and get_usage. search_skus and get_sku_history take the place of search_products and get_product.
claude mcp add --transport http vpi https://vpindex.org/api/mcp --header "Authorization: Bearer vpi_..."For assistants that only take a URL (Claude, ChatGPT, Gemini, Grok, Le Chat, Perplexity), your account gives you a connector URL with the key inside. Do not share it: whoever has it spends your quota. The steps for each assistant are below.
Connect your AI
The steps for each assistant, checked against its own documentation on November 18, 2026. Replace vpi_... with your key; in your account these same lines come with it filled in. Chat apps only take a URL, so they use the one with the key inside.
Chat apps
ChatGPT
On chatgpt.com open Plugins, tap + and Add custom MCP server. Name it VPI and paste this URL under Connection:
https://vpindex.org/api/mcp/k/vpi_...Authentication: No authentication. Tick the warning box, Create as a plugin, install it and type @VPI in a new chat.
If your account still shows the older menu: Settings, Apps, Advanced settings, Developer mode, Create app, with the same URL. OpenAI offers it on Business, Enterprise and Edu (with admin permission); on other plans it depends on the account.
Claude
claude.ai or Claude Desktop: Customize, Connectors, +, Add custom connector. Name it VPI and paste this URL:
https://vpindex.org/api/mcp/k/vpi_...Continue, choose No sign in, then Add. In a chat, open + and switch VPI on under Connectors.
Free plan: one custom connector. On Team and Enterprise the Owner adds it in Organization settings, Connectors.
Then ask in a new chat, for example: what does Harina PAN cost at Farmatodo this week?
Gemini
gemini.google.com on the web: Settings, Connected apps, Custom apps, Add a custom app. Paste this MCP server URL:
https://vpindex.org/api/mcp/k/vpi_...Google limits it for now to personal accounts in the US, 18 or older, with history on and in English. If you do not see it, use Gemini CLI.
Grok
At grok.com/connectors: New Connector, Custom, and paste this URL:
https://vpindex.org/api/mcp/k/vpi_...On Business and Enterprise the team admin enables it first.
Then ask in a new chat, for example: what does Harina PAN cost at Farmatodo this week?
Le Chat (Mistral)
Connectors, + Add Connector, Custom MCP Connector tab. Name: vpi (no spaces). Server URL:
https://vpindex.org/api/mcp/k/vpi_...Connect. Only an admin adds connectors; on Free and Pro the admin is the account owner.
Perplexity
Plugins in the sidebar, Add custom, Add MCP connector, Remote. Name VPI and this URL:
https://vpindex.org/api/mcp/k/vpi_...Under Advanced: Authentication None, Transport Streamable HTTP. Tick the risk box, then Add. On Enterprise, an admin must allow custom connectors.
Coding tools
Claude Code
Run in your terminal:
claude mcp add --transport http vpi --scope user https://vpindex.org/api/mcp --header "Authorization: Bearer vpi_..."Check it with /mcp inside Claude Code.
Codex (OpenAI)
Put the key in an environment variable and add the server:
export VPI_KEY=vpi_...
codex mcp add vpi --url https://vpindex.org/api/mcp --bearer-token-env-var VPI_KEYIt ends up like this in ~/.codex/config.toml:
[mcp_servers.vpi]
url = "https://vpindex.org/api/mcp"
bearer_token_env_var = "VPI_KEY"Cursor
Add this to ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project):
{
"mcpServers": {
"vpi": {
"url": "https://vpindex.org/api/mcp",
"headers": {
"Authorization": "Bearer vpi_..."
}
}
}
}Check that VPI shows as active under Customize, MCP (older versions: Settings, Tools & MCP).
Gemini CLI
Add this to ~/.gemini/settings.json (httpUrl is streamable HTTP; url would mean SSE):
{
"mcpServers": {
"vpi": {
"httpUrl": "https://vpindex.org/api/mcp",
"headers": {
"Authorization": "Bearer vpi_..."
}
}
}
}Check it with /mcp inside Gemini CLI.
Grok CLI
Run in your terminal:
grok mcp add --transport http vpi https://vpindex.org/api/mcp --header "Authorization: Bearer vpi_..."Kimi
The kimi.com chat does not take your own MCP servers yet. In Kimi Code, add this to ~/.kimi-code/mcp.json (or use /mcp-config inside Kimi Code):
{
"mcpServers": {
"vpi": {
"url": "https://vpindex.org/api/mcp",
"headers": {
"Authorization": "Bearer vpi_..."
}
}
}
}Meta AI (Muse)
The Meta AI app cannot add an MCP server yet. Muse Code, Meta's coding tool, can: add this to its settings file (settings.json):
{
"mcp_servers": {
"vpi": {
"transport": "streamable_http",
"url": "https://vpindex.org/api/mcp",
"headers": {
"Authorization": "Bearer vpi_..."
}
}
}
}Restart Muse Code and ask it to list the vpi tools.
Python / curl
curl:
curl -H "Authorization: Bearer vpi_..." "https://vpindex.org/api/v1/skus?q=harina"Python:
import requests
r = requests.get("https://vpindex.org/api/v1/skus", params={"q": "harina"}, headers={"Authorization": "Bearer vpi_..."})
print(r.json())Any other AI or program that speaks MCP over HTTP uses this URL, with the key inside:
https://vpindex.org/api/mcp/k/vpi_...Qwen
Qwen Chat on the web does not take your own MCP servers yet. In Qwen Code, run:
qwen mcp add --transport http vpi https://vpindex.org/api/mcp --header "Authorization: Bearer vpi_..."Or add it to ~/.qwen/settings.json:
{
"mcpServers": {
"vpi": {
"httpUrl": "https://vpindex.org/api/mcp",
"headers": {
"Authorization": "Bearer vpi_..."
}
}
}
}Check it with /mcp inside Qwen Code.
VS Code (Copilot)
Add this to .vscode/mcp.json; VS Code asks for the key the first time:
{
"inputs": [
{
"type": "promptString",
"id": "vpi-key",
"description": "VPI key",
"password": true
}
],
"servers": {
"vpi": {
"type": "http",
"url": "https://vpindex.org/api/mcp",
"headers": {
"Authorization": "Bearer ${input:vpi-key}"
}
}
}
}Or from the palette: Chat: Open Customizations, MCP Servers, +, HTTP.
Windsurf
In Cascade tap Open MCP config file and add (it is serverUrl, not url):
{
"mcpServers": {
"vpi": {
"serverUrl": "https://vpindex.org/api/mcp",
"headers": {
"Authorization": "Bearer vpi_..."
}
}
}
}Save and press refresh in the MCP panel.
DeepSeek, Qwen's chat, Kimi's chat and the Meta AI app cannot add your own MCP servers yet; use their coding tools or any of the above.
Limits and headers
| Limit | With a key (Analyst plan) |
|---|---|
| Calls | 5,000 per UTC day, across all your keys. Resets at 00:00 UTC. |
| Rows | 250,000 rows served per calendar month, every route together. |
| History | Full, since tracking began. |
| Burst | 240 calls a minute. More than that answers 429 burst_limit. |
| Institutional plan | Calls, rows and pull size are set by contract. |
Every keyed response carries:
| Header | What it says |
|---|---|
| X-VPI-Plan | Your plan. |
| X-RateLimit-Remaining | Calls left today. |
| X-VPI-Rows-Served | Rows served this month. |
| X-VPI-Rows-Left | Rows left this month. |
If you need more, the full archive as files or a license to redistribute: write to contact@vpindex.org. Cite as: Morf Capital, Venezuela Price Index (VPI), vpindex.org.
Errors
Every error has the same shape:
{ "error": { "code": "quota_exhausted", "message": "..." } }| Code | What happened |
|---|---|
| 400 bad_request | Malformed parameters: dates, lists, fields or format. |
| 401 unauthorized | The key is missing, or it does not exist or was revoked. |
| 403 plan_required | The account is not on the Analyst or Institutional plan. |
| 404 not_found | No series or product with that id. |
| 429 quota_exhausted | You used the day's calls. See Retry-After. |
| 429 row_quota_exhausted | You used the month's rows. |
| 429 burst_limit / rate_limited | Too many calls a minute. Wait what Retry-After says. |
| 500 internal | Something failed on our side. Retry. |
The data follows the methodology and use follows the terms. What we correct stays on corrections.