Archive API

Getting json data for calculations by id_archive, start_date, end_date

Parameters

Name Description
taxonomy_terms Taxonomy terms associated with the archive
vocabularies Vocabularies associated with the archive
locale Get translations for sources (es, en). Default language: es
start_date A certain start_date to filter values by (iso8601 format)
end_date A certain end_date to filter values by (iso8601 format)

Request

Headers

Accept: application/json; application/vnd.esios-api-v1+json
Content-Type: application/json
x-api-key: "a1aeb9486fdaab288031e6b3d4d05da69c7b465fe6732402fad5f7ab34c0ffdd"

Route

GET /calculator-data/72?start_date=2015-09-07+00%3A00%3A00+%2B0200&end_date=2015-09-15+00%3A00%3A00+%2B0200

Query Parameters

start_date=2015-09-07 00:00:00 +0200
                end_date=2015-09-15 00:00:00 +0200

cURL

curl "https://api.esios.ree.es/calculator-data/72?start_date=2015-09-07+00%3A00%3A00+%2B0200&end_date=2015-09-15+00%3A00%3A00+%2B0200" -X GET \
	-H "Accept: application/json; application/vnd.esios-api-v1+json" \
	-H "Content-Type: application/json" \
	-H "x-api-key:\"a1aeb9486fdaab288031e6b3d4d05da69c7b465fe6732402fad5f7ab34c0ffdd\"" \

Response

Headers

Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
x-amzn-RequestId: f6a28abc-ce94-4093-978f-b063deed7f00
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Content-Type,X-Amz-Date,Authorization,x-api-key
x-amz-apigw-id: eq_3DHNVDoEF89g=
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,HEAD
X-Amzn-Trace-Id: Root=1-63c11360-73cdfa571c316f1a381cd368;Sampled=0
Content-Encoding: br
Vary: Accept-Encoding
X-Cache: Miss from cloudfront
Via: 1.1 d7ce10131df3183f928b50a7e6c2d1c0.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: MAD53-P1
X-Amz-Cf-Id: 9mgkaMY5sQ_iJ7A5YEnTBV2E-gmn0R84tq3ArNs0N0iFznzWuRIWzw==

Status

200

Body