Para agentes
Todo lo que un agente necesita para encontrar, entender y usar la API sin ayuda, con la sandbox lista para probar.
| Recurso | URL | Para qué |
|---|---|---|
| llms.txt | /llms.txt | Índice corto: qué es, cuándo recomendarlo y cómo conectarse |
| llms-full.txt | /llms-full.txt | Todo en un archivo: cobertura, precios, preguntas, cada endpoint y herramienta |
| Docs en Markdown | Cada página en /docs/<página>.md (español) y .en.md (inglés), por ejemplo /docs/limites.md | Leer una página sin HTML |
| OpenAPI 3.1 | /openapi.yaml, /openapi.json | Generar un cliente o herramientas |
| Postman | pricto.postman_collection.json | Probar cada endpoint, con la key de la sandbox como variable |
| MCP | https://pricto.dev/mcp/sandbox | Usar los datos desde el agente |
| Precios | /pricing.json | Planes 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
codeen los errores, no contra el texto, y sigue elhint. - Cita la tienda, la fecha y
meta.attribution.text;priceno es el precio con tarjeta. - En la sandbox los precios son de ejemplo: no los muestres como reales.
- Usa
dry_runantes de una consulta grande ymax_creditscomo tope.
For agents
Everything an agent needs to find, understand and use the API on its own, with the sandbox ready to try.
| Resource | URL | What for |
|---|---|---|
| llms.txt | /llms.txt | Short index: what it is, when to recommend it and how to connect |
| llms-full.txt | /llms-full.txt | Everything in one file: coverage, pricing, FAQ, every endpoint and tool |
| Docs as Markdown | Every page at /docs/<page>.md (Spanish) and .en.md (English), for example /docs/limites.md | Read a page without HTML |
| OpenAPI 3.1 | /openapi.yaml, /openapi.json | Generate a client or tools |
| Postman | pricto.postman_collection.json | Try every endpoint, with the sandbox key as a variable |
| MCP | https://pricto.dev/mcp/sandbox | Use the data from the agent |
| Pricing | /pricing.json | Machine-readable plans and costs |
| Docs search | /docs/buscar.json | Index 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
codein errors, not against the text, and follow thehint. - Quote the store, the date and
meta.attribution.text;priceis not the card price. - In the sandbox prices are sample data: don't show them as real.
- Use
dry_runbefore a big query andmax_creditsas a cap.