GuidesAPIStatusSign up

Getting Started

Send your first request to multiple AI providers through Eden AI

Authentication

All API calls to Eden AI must contain a "Authorization" header containing your API key according to the following format:

Authorization: Bearer <your_key>

Sandbox

If you just want to test/implement our API without making real calls and getting charged for each call you make, you can use the Sandbox Key available on your account page on the developer portal.

When Making calls to Eden AI with this key, we will return dummy results so you can easily implement our API to your project without superfluous costs.

Your First API request

Here is a quick example on how to Analyze a Text using keyword extraction, using all providers available for this feature:

curl --request POST \
     --header 'authorization: Bearer <YOUR KEY>' \
     --url https://api.edenai.run/v2/text/keyword_extraction \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
     "providers": "microsoft,emvista,oneai,ibm,openai,amazon",
     "language": "en",
     "text": "Barack Hussein Obama is an American politician who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American president of the United States. He previously served as a U.S. senator from Illinois from 2005 to 2008 and as an Illinois state senator from 1997 to 2004."
}
'