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---5
6# Data912 Market Data
7
8Query Data912's public market API for Argentina and USA market data snapshots, historical bars, and EOD derivatives analytics.
9
10## API Overview
11
12- **Base URL**: `https://data912.com`
13- **Auth**: None required (public API)
14- **Format**: JSON responses
15- **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.
17
18## Endpoint Groups
19
20### 1. Live Market Panels
21
22- `/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`
32
33Example:
34
35```bash
36curl -s "https://data912.com/live/arg_stocks" | jq '.[0:5]'
37```
38
39### 2. Historical OHLC
40
41- `/historical/stocks/{ticker}`
42- `/historical/cedears/{ticker}`
43- `/historical/bonds/{ticker}`
44
45Example:
46
47```bash
48curl -s "https://data912.com/historical/stocks/GGAL" | jq '.[0:10]'
49```
50
51### 3. EOD Derivatives Analytics
52
53- `/eod/volatilities/{ticker}`
54- `/eod/option_chain/{ticker}`
55
56Examples:
57
58```bash
59curl -s "https://data912.com/eod/volatilities/AAPL" | jq '.'
60curl -s "https://data912.com/eod/option_chain/AAPL" | jq '.[0:10]'
61```
62
63### Out of Scope for This Skill
64
65- Do not use `/contact` in this skill. Keep this skill focused on market data retrieval and interpretation.
66
67## Key Fields
68
69### Panel Fields (`/live/*`)
70
71- `symbol`: instrument ticker/symbol
72- `px_bid`, `q_bid`: bid price and bid size
73- `px_ask`, `q_ask`: ask price and ask size
74- `c`: last/close-like traded value
75- `pct_change`: percentage variation
76- `v`: volume
77- `q_op`: operations count (when provided)
78
79### Historical Fields (`/historical/*/{ticker}`)
80
81- `date`: date string
82- `o`, `h`, `l`, `c`: OHLC values
83- `v`: volume
84- `dr`: daily return
85- `sa`: additional numeric metric provided by source
86
87### Volatility Metrics (`/eod/volatilities/{ticker}`)
88
89- 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`
95
96### Option Chain Fields (`/eod/option_chain/{ticker}`)
97
98- 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`
103
104## Workflow
105
1061. **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.
122
123## Error Handling
124
125- **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.
134
135## Presenting Results
136
137When returning results to the user:
138
139- 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.
145
146## OpenAPI Spec
147
148For the full schema and endpoint definitions, see [references/openapi-spec.json](references/openapi-spec.json).