Data912 Market Data
Query Data912's public market API for Argentina and USA market data snapshots, historical bars, and EOD derivatives analytics.
API Overview
- Base URL:
https://data912.com
- Auth: None required (public API)
- Format: JSON responses
- Source note: Data912 describes this API as educational/hobby data and explicitly not real-time.
- Caching note: Server metadata indicates roughly 2-hour Cloudflare caching.
Endpoint Groups
1. Live Market Panels
/live/mep (USD MEP)
/live/ccl (USD CCL)
/live/arg_stocks
/live/arg_options
/live/arg_cedears
/live/arg_notes
/live/arg_corp
/live/arg_bonds
/live/usa_adrs
/live/usa_stocks
Example:
curl -s "https://data912.com/live/arg_stocks" | jq '.[0:5]'
2. Historical OHLC
/historical/stocks/{ticker}
/historical/cedears/{ticker}
/historical/bonds/{ticker}
Example:
curl -s "https://data912.com/historical/stocks/GGAL" | jq '.[0:10]'
3. EOD Derivatives Analytics
/eod/volatilities/{ticker}
/eod/option_chain/{ticker}
Examples:
curl -s "https://data912.com/eod/volatilities/AAPL" | jq '.'
curl -s "https://data912.com/eod/option_chain/AAPL" | jq '.[0:10]'
Out of Scope for This Skill
- Do not use
/contact in this skill. Keep this skill focused on market data retrieval and interpretation.
Key Fields
Panel Fields (/live/*)
symbol: instrument ticker/symbol
px_bid, q_bid: bid price and bid size
px_ask, q_ask: ask price and ask size
c: last/close-like traded value
pct_change: percentage variation
v: volume
q_op: operations count (when provided)
Historical Fields (/historical/*/{ticker})
date: date string
o, h, l, c: OHLC values
v: volume
dr: daily return
sa: additional numeric metric provided by source
Volatility Metrics (/eod/volatilities/{ticker})
- IV term structure:
iv_s_term, iv_m_term, iv_l_term
- IV percentiles:
iv_*_percentile
- HV term structure:
hv_s_term, hv_m_term, hv_l_term
- HV percentiles:
hv_*_percentile
- Relative-value ratios:
iv_hv_*_ratio, iv_fair_iv_ratio
- Fair value reference:
fair_iv, fair_iv_percentile
Option Chain Fields (/eod/option_chain/{ticker})
- Contract context:
opex, s_symbol, type, k
- Market data:
bid, ask, c, oi
- Greeks:
delta, gamma, theta, vega, rho
- Valuation/probabilities:
fair_value, fair_iv, itm_prob, intrinsic, otm
- Horizon context:
r_days, r_tdays, hv_2m, hv_1yr
Workflow
- Identify intent and select endpoint group:
- FX/panel snapshot ->
/live/*
- Time series/evolution ->
/historical/*/{ticker}
- Options/risk analytics ->
/eod/*/{ticker}
- Validate required input:
- For historical/EOD endpoints, require a ticker symbol.
- If ticker is missing, ask for it before querying.
- Fetch data with
curl -s and parse with jq.
- Handle empty arrays:
- If response is
[], report: "No data currently available for this endpoint/ticker."
- Present an actionable summary:
- Start with a short snapshot.
- Then include relevant detail fields requested by the user.
- Keep context clear:
- Remind users this is educational/non-real-time data.
- Avoid turning output into trading advice.
Error Handling
- 429 Too Many Requests:
- Most market endpoints publish
120 req/min.
- Back off and retry after a short delay; avoid burst loops.
- 422 Validation Error:
- Usually invalid/missing path input such as ticker formatting.
- Re-check symbol and endpoint before retrying.
- Network/timeout failures:
- Retry a small number of times (for example, 2 retries with delay).
- If still failing, return a clear failure message and the endpoint attempted.
Presenting Results
When returning results to the user:
- Lead with a concise snapshot (what moved, where, and magnitude).
- For panel requests, compare bid/ask/last and
% change.
- For historical requests, summarize trend windows and notable jumps.
- For vol/options requests, highlight percentiles and IV/HV relationships.
- Explicitly mention the data is educational/non-real-time.
- Do not provide financial recommendations.
OpenAPI Spec
For the full schema and endpoint definitions, see references/openapi-spec.json.
1---2name: data912-market-data3description: Query Data912 market data endpoints for Argentina and USA instruments. Use when the user asks for MEP/CCL quotes, live Argentine market panels (stocks, options, cedears, notes, corporate debt, bonds), USA panels (ADRs, stocks), OHLC historical series by ticker, USA option chains, or volatility/risk metrics. Also use when the user mentions "Data912", "mep", "ccl", "cedears", "option chain", "historical bars", "OHLC", "implied volatility", "historical volatility", or "volatility percentiles" and expects API-backed market snapshots.4---56# Data912 Market Data78Query Data912's public market API for Argentina and USA market data snapshots, historical bars, and EOD derivatives analytics.910## API Overview1112- **Base URL**: `https://data912.com`13- **Auth**: None required (public API)14- **Format**: JSON responses15- **Source note**: Data912 describes this API as educational/hobby data and explicitly not real-time.16- **Caching note**: Server metadata indicates roughly 2-hour Cloudflare caching.1718## Endpoint Groups1920### 1. Live Market Panels2122- `/live/mep` (USD MEP)23- `/live/ccl` (USD CCL)24- `/live/arg_stocks`25- `/live/arg_options`26- `/live/arg_cedears`27- `/live/arg_notes`28- `/live/arg_corp`29- `/live/arg_bonds`30- `/live/usa_adrs`31- `/live/usa_stocks`3233Example:3435```bash36curl -s "https://data912.com/live/arg_stocks" | jq '.[0:5]'37```3839### 2. Historical OHLC4041- `/historical/stocks/{ticker}`42- `/historical/cedears/{ticker}`43- `/historical/bonds/{ticker}`4445Example:4647```bash48curl -s "https://data912.com/historical/stocks/GGAL" | jq '.[0:10]'49```5051### 3. EOD Derivatives Analytics5253- `/eod/volatilities/{ticker}`54- `/eod/option_chain/{ticker}`5556Examples:5758```bash59curl -s "https://data912.com/eod/volatilities/AAPL" | jq '.'60curl -s "https://data912.com/eod/option_chain/AAPL" | jq '.[0:10]'61```6263### Out of Scope for This Skill6465- Do not use `/contact` in this skill. Keep this skill focused on market data retrieval and interpretation.6667## Key Fields6869### Panel Fields (`/live/*`)7071- `symbol`: instrument ticker/symbol72- `px_bid`, `q_bid`: bid price and bid size73- `px_ask`, `q_ask`: ask price and ask size74- `c`: last/close-like traded value75- `pct_change`: percentage variation76- `v`: volume77- `q_op`: operations count (when provided)7879### Historical Fields (`/historical/*/{ticker}`)8081- `date`: date string82- `o`, `h`, `l`, `c`: OHLC values83- `v`: volume84- `dr`: daily return85- `sa`: additional numeric metric provided by source8687### Volatility Metrics (`/eod/volatilities/{ticker}`)8889- IV term structure: `iv_s_term`, `iv_m_term`, `iv_l_term`90- IV percentiles: `iv_*_percentile`91- HV term structure: `hv_s_term`, `hv_m_term`, `hv_l_term`92- HV percentiles: `hv_*_percentile`93- Relative-value ratios: `iv_hv_*_ratio`, `iv_fair_iv_ratio`94- Fair value reference: `fair_iv`, `fair_iv_percentile`9596### Option Chain Fields (`/eod/option_chain/{ticker}`)9798- Contract context: `opex`, `s_symbol`, `type`, `k`99- Market data: `bid`, `ask`, `c`, `oi`100- Greeks: `delta`, `gamma`, `theta`, `vega`, `rho`101- Valuation/probabilities: `fair_value`, `fair_iv`, `itm_prob`, `intrinsic`, `otm`102- Horizon context: `r_days`, `r_tdays`, `hv_2m`, `hv_1yr`103104## Workflow1051061. **Identify intent** and select endpoint group:107 - FX/panel snapshot -> `/live/*`108 - Time series/evolution -> `/historical/*/{ticker}`109 - Options/risk analytics -> `/eod/*/{ticker}`1102. **Validate required input**:111 - For historical/EOD endpoints, require a ticker symbol.112 - If ticker is missing, ask for it before querying.1133. **Fetch data with `curl -s`** and parse with `jq`.1144. **Handle empty arrays**:115 - If response is `[]`, report: "No data currently available for this endpoint/ticker."1165. **Present an actionable summary**:117 - Start with a short snapshot.118 - Then include relevant detail fields requested by the user.1196. **Keep context clear**:120 - Remind users this is educational/non-real-time data.121 - Avoid turning output into trading advice.122123## Error Handling124125- **429 Too Many Requests**:126 - Most market endpoints publish `120 req/min`.127 - Back off and retry after a short delay; avoid burst loops.128- **422 Validation Error**:129 - Usually invalid/missing path input such as ticker formatting.130 - Re-check symbol and endpoint before retrying.131- **Network/timeout failures**:132 - Retry a small number of times (for example, 2 retries with delay).133 - If still failing, return a clear failure message and the endpoint attempted.134135## Presenting Results136137When returning results to the user:138139- Lead with a concise snapshot (what moved, where, and magnitude).140- For panel requests, compare bid/ask/last and `% change`.141- For historical requests, summarize trend windows and notable jumps.142- For vol/options requests, highlight percentiles and IV/HV relationships.143- Explicitly mention the data is educational/non-real-time.144- Do not provide financial recommendations.145146## OpenAPI Spec147148For the full schema and endpoint definitions, see [references/openapi-spec.json](references/openapi-spec.json).