API & Desarrolladores
Integra datos de minería Bitcoin en tus apps, agentes IA y sistemas de trading.
Gratuito
Perfecto para proyectos personales y exploración
- Datos de mercado en tiempo real (precio, hashprice, dificultad)
- Calculadora de rentabilidad
- Datos históricos de 6 meses
- Mempool y bloques recientes
- Seguimiento del halving
- 100 solicitudes/día
Enterprise
Para mesas de trading, fondos y operaciones de minería
- Todo lo del tier gratuito
- Datos históricos completos (desde 2009)
- Datos de alta frecuencia (por minuto)
- WebSocket en tiempo real
- Límites personalizados (100k+/día)
- SLA 99.9%
- Soporte dedicado
Widget Embed
Añade la calculadora de rentabilidad de minería a tu blog, newsletter o documentación en 2 líneas de HTML. Datos en vivo, gratis, sin clave API.
- Datos en vivo desde un nodo Bitcoin Core
- Sliders interactivos (BTC, dificultad, coste)
- Bilingüe FR/EN, responsive
- Backlink dofollow a Startmining
Servidor MCP
Endpoints REST API
URL base: https://pro.startmining.io
/api/market/pricePrecio BTC, hashprice, cambio 24h
/api/market/difficultyDificultad actual, próximo ajuste
/api/market-summaryResumen completo del mercado
/api/asic-pricesPrecios ASIC por tier de eficiencia
12 endpoints — interactive reference
OpenAPI 3.1 spec, try any endpoint from the browser, no API key.
Herramientas MCP
Herramientas disponibles con el servidor MCP
get_market_dataDatos de mercado actuales
get_hashpriceDesglose de hashprice
get_difficultyDificultad y próximo ajuste
get_halving_infoInfo halving y cuenta regresiva
get_price_historyHistorial de precios BTC
get_difficulty_historyHistorial de dificultad
calculate_profitabilityCalcular rentabilidad minera
calculate_breakevenCalcular precio de equilibrio
get_mempoolEstado mempool y tarifas
get_recent_blocksBloques recientes
get_asic_pricesPrecios de mercado ASIC
Quick start
Hit any endpoint without an API key. The most useful first call is /api/market-summary — BTC price, hashprice, difficulty, network hashrate and last block in one round-trip.
curl
curl https://pro.startmining.io/api/market-summary
JavaScript / fetch
const r = await fetch( 'https://pro.startmining.io/api/market-summary' ) const data = await r.json() console.log(data.btcPrice, data.hashpriceUsd)
Python / requests
import requests r = requests.get( 'https://pro.startmining.io/api/market-summary' ) print(r.json()['hashpriceUsd'])
Authentication
Free tier
Anonymous, no API key. Send any request without authentication. Per-IP rate limit applies (see Rate limits below). Suitable for personal projects, prototypes, and low-volume embeds.
Enterprise tier
Custom rate limit, SLA, priority support, optional private deployment. Ship thex-api-keyheader on every request once provisioned.
Rate limits
| Surface | Limit | When exceeded |
|---|---|---|
/embed/* (iframe widget) | 60 req / min per (IP, embedding domain) | 429 + Retry-After: 60 |
/api/* (REST endpoints) | Soft limit at infrastructure level (~60 req / min / IP) | Connection throttled, no JSON envelope |
| Enterprise | Custom (negotiated) | 429 + X-RateLimit-* headers |
Production users with predictable load should switch to Enterprise to get explicit rate-limit headers and an SLA. Burst traffic on the Free tier may receive degraded responses without warning.
Errors
Successful responses return 200 OK with the documented JSON shape. Failure responses follow this envelope:
{ "error": "rate_limited", "message": "Free tier — slow down or contact contact@startmining.io." }| Code | Meaning | Action |
|---|---|---|
| 200 | OK | — |
| 400 | Malformed query parameter | Inspect the message field, fix the request. |
| 401 | Authentication required (Enterprise endpoints only) | Add the x-api-key header. |
| 404 | Endpoint or resource not found | Check the path against the OpenAPI spec. |
| 429 | Rate-limited | Honour Retry-After, then resume. |
| 500 | Bitcoin Core node or upstream aggregator unavailable | Retry with exponential backoff. |
Versioning & deprecation
We follow semver. The current API is v1. Endpoints are stable until a new major version ships.
- Patch / minor changes are additive — new fields, new endpoints, no breakage.
- Major bumps go through a 6-month deprecation window. Affected endpoints emit a
Deprecationresponse header pointing to a migration note before the cut-over. - Breaking changes are announced on this page and in the llms-full.txt changelog block.
Changelog
Recent changes to the API surface and developer experience.
- 2026-04-30OpenAPI 3.1 spec published at /openapi.yaml with interactive Swagger UI at /developers/api. 12 endpoints documented end-to-end with real-data examples.
- 2026-04-30
/embed/*rate-limited at 60 req/min per (IP, embedding domain). - 2026-04-30GDPR rights surfaced — account export (Art. 20) and delete (Art. 17) at /account.
- 2026-04-30SEO refresh — 308 permanent redirects on
/fr/*,x-robots-tag: noindexon the OG image, dynamic ASIC count in titles/descriptions. - 2026-04-30Catalogue extended to 87 ASIC models — solo miners (Bitaxe, GekkoScience, Lucky Miner) added with proper categorisation.
- 2026-04-30Iframe widget redesigned — 4 surfaces refreshed, brand-chart compliant, container queries for true responsiveness.
- 2026-04-30/halving page shipped — countdown to halving #5 (April 2028, block 1,050,000) with per-ASIC break-even table.
- 2026-04Multi-locale support extended to 7 languages (FR, EN, ES, AR, DE, PT, ZH) on every public page.



