Search code examples
alchemyapi

What counts as a transaction on the free API license?


I'm working on a book for Manning and want to use Alchemy News API as part of one of the examples. I have a free license which says it allows for 1,000 transactions per day. Does that mean 1,000 queries or something else? I hit the limit today way earlier than I expected to, at significantly less than 1,000 queries.


Solution

  • Each type of call has different amounts of transactions it uses. The text analysis uses just 1 transaction but the image analysis uses more. I believe it used about 5 transactions per image but it's been awhile since I've used the image recognition.

    The number of transactions used is given in the response from AlchemyAPI. It also gives you more details in the documentation.