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-data
3description: >
4 Query Data912 market data endpoints for Argentina and USA instruments.
5 Use when the user asks for MEP/CCL quotes, live Argentine market panels
6 (stocks, options, cedears, notes, corporate debt, bonds), USA panels (ADRs, stocks),
7 OHLC historical series by ticker, USA option chains, or volatility/risk metrics.
8 Also use when the user mentions "Data912", "mep", "ccl", "cedears", "option chain",
9 "historical bars", "OHLC", "implied volatility", "historical volatility", or
10 "volatility percentiles" and expects API-backed market snapshots.
11metadata:
12 source: https://skillmd.com/skills/modbender/data912-market-data
13---
14
15# Data912 Market Data
16
17Query Data912's public market API for Argentina and USA market data snapshots, historical bars, and EOD derivatives analytics.
18
19## API Overview
20
21- **Base URL**: `https://data912.com`
22- **Auth**: None required (public API)
23- **Format**: JSON responses
24- **Source note**: Data912 describes this API as educational/hobby data and explicitly not real-time.
25- **Caching note**: Server metadata indicates roughly 2-hour Cloudflare caching.
26
27## Endpoint Groups
28
29### 1. Live Market Panels
30
31- `/live/mep` (USD MEP)
32- `/live/ccl` (USD CCL)
33- `/live/arg_stocks`
34- `/live/arg_options`
35- `/live/arg_cedears`
36- `/live/arg_notes`
37- `/live/arg_corp`
38- `/live/arg_bonds`
39- `/live/usa_adrs`
40- `/live/usa_stocks`
41
42Example:
43
44```bash
45curl -s "https://data912.com/live/arg_stocks" | jq '.[0:5]'
46```
47
48### 2. Historical OHLC
49
50- `/historical/stocks/{ticker}`
51- `/historical/cedears/{ticker}`
52- `/historical/bonds/{ticker}`
53
54Example:
55
56```bash
57curl -s "https://data912.com/historical/stocks/GGAL" | jq '.[0:10]'
58```
59
60### 3. EOD Derivatives Analytics
61
62- `/eod/volatilities/{ticker}`
63- `/eod/option_chain/{ticker}`
64
65Examples:
66
67```bash
68curl -s "https://data912.com/eod/volatilities/AAPL" | jq '.'
69curl -s "https://data912.com/eod/option_chain/AAPL" | jq '.[0:10]'
70```
71
72### Out of Scope for This Skill
73
74- Do not use `/contact` in this skill. Keep this skill focused on market data retrieval and interpretation.
75
76## Key Fields
77
78### Panel Fields (`/live/*`)
79
80- `symbol`: instrument ticker/symbol
81- `px_bid`, `q_bid`: bid price and bid size
82- `px_ask`, `q_ask`: ask price and ask size
83- `c`: last/close-like traded value
84- `pct_change`: percentage variation
85- `v`: volume
86- `q_op`: operations count (when provided)
87
88### Historical Fields (`/historical/*/{ticker}`)
89
90- `date`: date string
91- `o`, `h`, `l`, `c`: OHLC values
92- `v`: volume
93- `dr`: daily return
94- `sa`: additional numeric metric provided by source
95
96### Volatility Metrics (`/eod/volatilities/{ticker}`)
97
98- IV term structure: `iv_s_term`, `iv_m_term`, `iv_l_term`
99- IV percentiles: `iv_*_percentile`
100- HV term structure: `hv_s_term`, `hv_m_term`, `hv_l_term`
101- HV percentiles: `hv_*_percentile`
102- Relative-value ratios: `iv_hv_*_ratio`, `iv_fair_iv_ratio`
103- Fair value reference: `fair_iv`, `fair_iv_percentile`
104
105### Option Chain Fields (`/eod/option_chain/{ticker}`)
106
107- Contract context: `opex`, `s_symbol`, `type`, `k`
108- Market data: `bid`, `ask`, `c`, `oi`
109- Greeks: `delta`, `gamma`, `theta`, `vega`, `rho`
110- Valuation/probabilities: `fair_value`, `fair_iv`, `itm_prob`, `intrinsic`, `otm`
111- Horizon context: `r_days`, `r_tdays`, `hv_2m`, `hv_1yr`
112
113## Workflow
114
1151. **Identify intent** and select endpoint group:
116 - FX/panel snapshot -> `/live/*`
117 - Time series/evolution -> `/historical/*/{ticker}`
118 - Options/risk analytics -> `/eod/*/{ticker}`
1192. **Validate required input**:
120 - For historical/EOD endpoints, require a ticker symbol.
121 - If ticker is missing, ask for it before querying.
1223. **Fetch data with `curl -s`** and parse with `jq`.
1234. **Handle empty arrays**:
124 - If response is `[]`, report: "No data currently available for this endpoint/ticker."
1255. **Present an actionable summary**:
126 - Start with a short snapshot.
127 - Then include relevant detail fields requested by the user.
1286. **Keep context clear**:
129 - Remind users this is educational/non-real-time data.
130 - Avoid turning output into trading advice.
131
132## Error Handling
133
134- **429 Too Many Requests**:
135 - Most market endpoints publish `120 req/min`.
136 - Back off and retry after a short delay; avoid burst loops.
137- **422 Validation Error**:
138 - Usually invalid/missing path input such as ticker formatting.
139 - Re-check symbol and endpoint before retrying.
140- **Network/timeout failures**:
141 - Retry a small number of times (for example, 2 retries with delay).
142 - If still failing, return a clear failure message and the endpoint attempted.
143
144## Presenting Results
145
146When returning results to the user:
147
148- Lead with a concise snapshot (what moved, where, and magnitude).
149- For panel requests, compare bid/ask/last and `% change`.
150- For historical requests, summarize trend windows and notable jumps.
151- For vol/options requests, highlight percentiles and IV/HV relationships.
152- Explicitly mention the data is educational/non-real-time.
153- Do not provide financial recommendations.
154
155## OpenAPI Spec
156
157For the full schema and endpoint definitions, see [references/openapi-spec.json](references/openapi-spec.json).