JUHE API Marketplace
Travel

Transport for Spain

An API for public train data in Spain.

1
Endpoints
Status
Latency

CODE EXAMPLES

JavaScript (Fetch)

fetch('https://data.renfe.com/api/', {
  method: 'GET',
  headers: {},
})
  .then(response => response.json())
  .then(data => console.log(data));

cURL

curl -X GET 'https://data.renfe.com/api/'

Transport for Spain

0.0%
TRAVEL

An API for public train data in Spain.

PERFORMANCE TELEMETRY

RATE LIMITSCHECK DOCS

API TESTING INTERFACE

READY
SIGN IN TO EXECUTE TEST

Please sign in to test API endpoints

RESPONSE TELEMETRY

Execute API test to view telemetry data

Boost your free APIs with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.