Question of Ethereum’s historical historical data with a paginated API end point
I see that you are facing problems with Binance API data, which is a popular platform for negotiating and storing data. Specifically, you are looking for the historical data questioning of Ethereum using a paginated terminal point.
The problem you find can be caused by the way Binance’s API solves pagination or restrictions on your API documentation. Here is an article that provides guidance on how to achieve this:
Introduction
Historical data is necessary for the analysis and adoption of informed decisions on cryptominians such as Ethereum. The Binance API offers a panned end point to obtain historical data, allowing you to load all available data for each period.
Step 1: Identify the sample item with the first item (E2I) query
To commit an E2I standard, we need to understand how the Binance API can deal with the pagination. A general approach is the use of “OD” and “for” parameters to determine the data and time stamp time of the data.
Suppose, for example, you want to get all Ethereum historical stores from January 1, 2020 to January 31, 2022. You can use an appointment as follows:
`JavaScript
{
“Method”: “GET”,
“URL”: “
“Params”: {
“IDS”: [],
“Fields”: [
“OPEN”,
“high”,
“Low”,
“closed”,
“Package
]
}
}
`
Step 2: Analyze and properties
**
When you receive an answer, analyze -a and extract the relevant data. The end point “Klines” returns several objects with different areas for each store.
For example::
`Json
{
“ID”: 0,
“Timmestamp”: 1643723400,
“Open”: 10000000,
“High”: 15000000,
“Low”: 9000000,
“Close”: 10500000,
“Volume”: 5000
},
{
“ID”: 1,
“Timmestamp”: 1643723405,
“Open”: 10200000,
“High”: 12000000,
“Low”: 9200000,
“Close”: 10800000,
“Volume”: 6000
},
…
]
`
Step 3: Implement Page
To implement the page, you must add a limit
to your query. The limited value depends on the number of items returned on the page.
For example::
JavaScript
{
“Method”: “GET”,
“URL”: “
“Params”: {
“IDS”: [],
“Fields”: [
“OPEN”,
“high”,
“Low”,
“closed”,
“Package
]
}
}
`
Conclusion
Obtaining all available Ethereum historical data requires a little job, but you can achieve your goal with the correct approach. The last procedure and understanding of how to implement the page using the Binance API interface should be able to successfully question the E2I standard.
If you are still finding problems or needing additional help, feel free to ask. I will try to provide more guidelines or direct you in the right direction.