Back to Skill Marketplace

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).

Updated today<1 min setup

Overview

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

How this skill works

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 / VERIFIED

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
}

Best used for

When to use it

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 · PRE-MEETING

Prepare a decision brief

Turn scattered evidence into a structured case before an investment committee meeting.

02 · TEAM WORKFLOW

Standardize handoffs

Create consistent research outputs across analysts, portfolio managers, and agents.

03 · LIVE UPDATE

Refresh the thesis

Update scenarios after a new catalyst, KPI release, or earnings result.

Community notes

Built to improve with use.

Feedback will appear here as this skill is used and reviewed.

Leave feedback

Discover more

Related skills

View all
免費開始