Volver al Marketplace de Skills

Market Data

priceforagent

Price for Agent provides an LLM-friendly REST API delivering real-time prices for cryptocurrencies, equities, and commodities. Register to obtain an API key, then query via natural-language /v1/query, direct lookups (/v1/price/{asset}), or batch requests (/v1/batch).

Actualizada hace 45 díasConfiguración en <1 min

Resumen

Price for Agent provides an LLM-friendly REST API delivering real-time prices for cryptocurrencies, equities, and commodities.

Price for Agent provides an LLM-friendly REST API delivering real-time prices for cryptocurrencies, equities, and commodities. Register to obtain an API key, then query via natural-language /v1/query, direct lookups (/v1/price/{asset}), or batch requests (/v1/batch). Responses include pair, price, ask, bid, currency, market state, and timestamp. The service supports function-calling schemas and an OpenAPI spec for seamless agent and application integration. Use cases: chatbots and agents answering price questions, trading bots and portfolio trackers, market dashboards, alerting systems, and research tools. Core advantages: low-latency, multi-asset coverage (BTC, ETH, NVDA, AAPL, GOLD), LLM-friendly natural language interface, batch endpoints, usage tracking (/v1/usage), and predictable rate limits for production deployments.

Skill.md

Cómo funciona esta Skill

Price for Agent provides an LLM-friendly REST API delivering real-time prices for cryptocurrencies, equities, and commodities. Register to obtain an API key, then query via natural-language /v1/query, direct lookups (/v1/price/{asset}), or batch requests (/v1/batch).

SKILL.mdALPHIO / VERIFICADA

Price for Agent

LLM-friendly price service for crypto, stocks, and commodities.

Base URL: https://p4ai.bitharga.com

Quick Start

1. Register for API Key

curl -X POST https://p4ai.bitharga.com/v1/register \
  -H "Content-Type: application/json" \
  -d '{"agent_id": "my-agent"}'

Response:

{"api_key": "pfa_xxx...", "message": "API key generated successfully"}

2. Query Prices

Natural language:

curl -X POST https://p4ai.bitharga.com/v1/query \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "What is the price of Bitcoin and Ethereum?"}'

Direct lookup:

curl -H "X-API-Key: YOUR_KEY" https://p4ai.bitharga.com/v1/price/bitcoin

Batch:

curl -X POST https://p4ai.bitharga.com/v1/batch \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"pairs": ["BTC", "ETH", "NVDA"]}'

Supported Assets

TypeExamples
CryptoBTC, ETH, SOL, DOGE, XRP, BNB
StocksNVDA, AAPL, TSLA, GOOGL
CommoditiesGOLD, SILVER, OIL

Rate Limits

  • 2 requests per second per API key
  • Global limit: 10 million calls
  • Usage tracked via /v1/usage

Function Calling

curl https://p4ai.bitharga.com/v1/function-schema

OpenAPI Spec

curl https://p4ai.bitharga.com/v1/openapi.yaml

Response Format

{
  "pair": "BTC",
  "price": 70494.63,
  "ask": 70565.13,
  "bid": 70424.14,
  "currency": "USDT",
  "market": "open",
  "timestamp": 1770433814
}

Ideal para

Cuándo usarla

Price for Agent provides an LLM-friendly REST API delivering real-time prices for cryptocurrencies, equities, and commodities. Register to obtain an API key, then query via natural-language /v1/query, direct lookups (/v1/price/{asset}), or batch requests (/v1/batch).

01 · ANTES DE LA REUNIÓN

Prepara un informe de decisión

Convierte evidencia dispersa en un caso estructurado antes del comité de inversión.

02 · FLUJO DE EQUIPO

Estandariza los traspasos

Genera resultados de research consistentes entre analistas, gestores de cartera y agents.

03 · ACTUALIZACIÓN EN VIVO

Refresca la tesis

Actualiza los escenarios tras un nuevo catalizador, la publicación de un KPI o un resultado trimestral.

Notas de la comunidad

Mejora a medida que se usa.

Los comentarios aparecerán aquí a medida que esta Skill se use y se revise.

Dejar comentarios

Descubre más

Skills relacionadas

Ver todas
Empieza gratis