2

Trying to request all the records from a contract. The etherscan.io solution offers a 5k records but the total is 120k+. Any API endoint or solution can go through it all?

What I tried:

  • ethslurp, limited to 10k (Dont remember the exact number).
  • Etherscan.io (didn't find an API that provide as in

Would like a .csv if possible

1
  • Instead of relying on third party services, you can install your own node and scan through it. Commented Apr 20, 2023 at 7:19

3 Answers 3

1

Yes, try Zapper.

Here's a link: https://api.zapper.fi/api/static/index.html#/Historical%20Transactions/TransactionController_getTransactions

5
  • getting this here ` { "statusCode": 401, "message": "Unauthorized" } `
    – Cesarvspr
    Commented Aug 12, 2021 at 13:40
  • Go to top of page you will see this white and green button "Athorize". Click on that and then paste the key they give you on the pop up into the input field and click authorize again Commented Aug 12, 2021 at 13:45
  • Thank you so much. Here it returns a JSON without the whole historical data. Did I do it right? api.zapper.fi/v1/…
    – Cesarvspr
    Commented Aug 12, 2021 at 14:01
  • Accepted. Tks! Actually, it seems kinda limited, in the etherscan they say the contract has 123k transactions.
    – Cesarvspr
    Commented Aug 12, 2021 at 14:46
  • I've heard it caps with timeout, so you can try awaiting it Commented Aug 12, 2021 at 14:48
1

You can do more than a million request per hour by running your own node. It will cost you around 50 - 100 eur/month. More information here.

0

You can use the Etherscan API that as a 10k limit and perform multiple API requests. (e.g. from 0 to 9999, 10 000 to 19 999, etc...).

I wrote a script that query all transactions for an address and export the result into a CSV file here : https://github.com/flbouchut/etherscan-exporter

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.