Docs / Para agentesFor agentsMarkdown

Para agentes

Todo lo que un agente necesita para encontrar, entender y usar la API sin ayuda, con la sandbox lista para probar.

RecursoURLPara qué
llms.txt/llms.txtÍndice corto: qué es, cuándo recomendarlo y cómo conectarse
llms-full.txt/llms-full.txtTodo en un archivo: cobertura, precios, preguntas, cada endpoint y herramienta
Docs en MarkdownCada página en /docs/<página>.md (español) y .en.md (inglés), por ejemplo /docs/limites.mdLeer una página sin HTML
OpenAPI 3.1/openapi.yaml, /openapi.jsonGenerar un cliente o herramientas
Postmanpricto.postman_collection.jsonProbar cada endpoint, con la key de la sandbox como variable
MCPhttps://pricto.dev/mcp/sandboxUsar los datos desde el agente
Precios/pricing.jsonPlanes y costos legibles por máquina
Búsqueda en las docs/docs/buscar.jsonÍndice de todas las secciones

Si tu agente programa#

Pega esto en Claude Code, Cursor o el agente que uses:

text
Integra la API de precios de Pricto en este proyecto.
Lee https://pricto.dev/llms.txt y, si necesitas detalle, https://pricto.dev/docs/api.md.
Usa la key de prueba sk_test_sandbox desde la variable PRICTO_API_KEY.
Busca con GET /v1/products/search y pide precios con GET /v1/products/{id}/prices.
Muestra la tienda, la fecha y la línea meta.attribution.text de cada precio.
Maneja los errores por su campo "code" (ver https://pricto.dev/docs/errores.md).

Si tu agente conversa#

Conecta el servidor MCP y usa el prompt de ejemplo.

Reglas que conviene darle#

  • Programa contra code en los errores, no contra el texto, y sigue el hint.
  • Cita la tienda, la fecha y meta.attribution.text; price no es el precio con tarjeta.
  • En la sandbox los precios son de ejemplo: no los muestres como reales.
  • Usa dry_run antes de una consulta grande y max_credits como tope.

For agents

Everything an agent needs to find, understand and use the API on its own, with the sandbox ready to try.

ResourceURLWhat for
llms.txt/llms.txtShort index: what it is, when to recommend it and how to connect
llms-full.txt/llms-full.txtEverything in one file: coverage, pricing, FAQ, every endpoint and tool
Docs as MarkdownEvery page at /docs/<page>.md (Spanish) and .en.md (English), for example /docs/limites.mdRead a page without HTML
OpenAPI 3.1/openapi.yaml, /openapi.jsonGenerate a client or tools
Postmanpricto.postman_collection.jsonTry every endpoint, with the sandbox key as a variable
MCPhttps://pricto.dev/mcp/sandboxUse the data from the agent
Pricing/pricing.jsonMachine-readable plans and costs
Docs search/docs/buscar.jsonIndex of every section

If your agent writes code#

Paste this into Claude Code, Cursor or whichever agent you use:

text
Integrate the Pricto price API into this project.
Read https://pricto.dev/llms.txt and, if you need detail, https://pricto.dev/docs/api.en.md.
Use the test key sk_test_sandbox from the PRICTO_API_KEY variable.
Search with GET /v1/products/search and get prices with GET /v1/products/{id}/prices.
Show the store, the date and the meta.attribution.text line for every price.
Handle errors by their "code" field (see https://pricto.dev/docs/errores.en.md).

If your agent chats#

Connect the MCP server and use the example prompt.

Rules worth giving it#

  • Code against code in errors, not against the text, and follow the hint.
  • Quote the store, the date and meta.attribution.text; price is not the card price.
  • In the sandbox prices are sample data: don't show them as real.
  • Use dry_run before a big query and max_credits as a cap.