I make a simple call with my browser and it generates 49 API Calls . It was a simple GET based on an IBM example. At this rate, I will expire the dailyTransactionLimit with just a few calls. Is this normal?
Response:
{ "status": "OK", "usage": "By accessing AlchemyAPI or using information generated by AlchemyAPI, you are agreeing to be bound by the AlchemyAPI Terms of Use: http://www.alchemyapi.com/company/terms.html", "totalTransactions": "49", "result": { "docs": [ { "id": "MTczMDA0NTkzNjR8MTQ4NzAwMDk5Mg", "source": { "enriched": { "url": { "title": "REPAY acquires Sigma Payment Solutions" } } }, "timestamp": 1487000992 } ], "next": "NzMxM....", "status": "OK" } }
Answer by @chughts (12979) | Feb 13, 2017 at 11:05 AM
You are invoking GetNews
- yes this is normal. The transaction count (API Event) will vary per query, but corresponds to the number of transactions that the service had to fire to run your query. Your search is for yesterday and today, which is about 24 transactions per day search, plus the query.
Have you tried the news service in the Watson Discovery service?
No, I use Node.js library to access IBM Watson services.
No you misunderstand. Watson News as available from Watson Discovery is based on Alchemy News and the transaction costs are more straight forward.