Fortune Cookie

Introducing our Fortune Cookie API, a delightful way to infuse your website and applications with unexpected wisdom and fun. Easily integrate this API to provide users with random, inspirational, or humorous fortune cookie messages, adding a touch of surprise to their experience.

Use translator for other language:

Update translator: https://divineapi.com/translator

en For English

hi For Hindi

pt For Portuguese

fr For French

es For Spanish

ru For Russian

de For German

nl For Dutch

it For Italian

pl For Polish

ar For Arabic

ja For Japanese

zh For Chinese

tm for Tamil

tl for Telugu

tr for Turkish

POST https://astroapi-5.divineapi.com/api/v2/fortune-cookie

Returns Fortune Cookie in response

Headers

Request Body

{
    "success": 1,
    "data": {
        "prediction": {
            "result": "Your next journey will take you to a place of peace and joy."
        }
    }
}

Take a look at how you might call this method via cURL, NodeJS, JavaScript jQuery AJAX or Python:

curl --location 'https://astroapi-5.divineapi.com/api/v2/fortune-cookie' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'lan="en"'

Last updated