Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Marketdata is available on smard.de

Open
#8 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
api

Research direction

Start by locating the YAML configuration in smard-api that defines the existing smard.de parameters and compare its conventions with the chart_data and table_data endpoints described here. Add the listed market-data identifiers in the same format, then verify that each parameter can be used to construct the corresponding hourly-data request.

Written by the indexing model from the issue text.

Description

There are further parameters possible to access market data (hourly prices) from smard.de:
An access is as follows, the parameter 4169 is used as an example; full list is below:

  1. get list of timestamps
    curl https://www.smard.de/app/chart_data/4169/DE/index_hour.json timestamps.json

  2. select one timestamp and get the data
    curl https://www.smard.de/app/table_data/4169/DE/4169_DE_hour_1655676000000.json > marketdata_4169.json

As before the parameter needs to be repeated and the "DE" must be always there even when accessing market data from other regions.

The list of possible parameters I found when downloading data from on smard.de:

  • 4169 - Marktpreis: Deutschland/Luxemburg
  • 5078 - Marktpreis: Anrainer DE/LU
  • 4996 - Marktpreis: Belgien
  • 4997 - Marktpreis: Norwegen 2
  • 4170 - Marktpreis: Österreich
  • 252 - Marktpreis: Dänemark 1
  • 253 - Marktpreis: Dänemark 2
  • 254 - Marktpreis: Frankreich
  • 255 - Marktpreis: Italien (Nord)
  • 256 - Marktpreis: Niederlande
  • 257 - Marktpreis: Polen
  • 258 - Marktpreis: Polen
  • 259 - Marktpreis: Schweiz
  • 260 - Marktpreis: Slowenien
  • 261 - Marktpreis: Tschechien
  • 262 - Marktpreis: Ungarn

Can this list be added to the yaml/smard-api?

Dominant language
Python
Stars
94
Forks
10
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bundesAPI/smard-api

All issues in bundesAPI/smard-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.