Greetings API

Free JSON API for greetings in different languages of the world.

Just include the Greetings API in your app, and greet your customers in different languages.

Use Cases

Welcome and greet users with a variety of greetings, instead of the boring "hello". Here are a few scenarios that are a good use case for using Greetings API.

  1. Alexa Skills
  2. SMS bots, Facebook Messenger, and WhatsApp business apps
  3. User Dashboards
  4. Email Marketing
  5. Custom Newsletters
  6. You can also integrate it as a Slack bot.

Example

Konichiwa! That's hello in Japanese!

Tālofa! That's hello in Samoan!


GET a random greeting

GET https://www.greetingsapi.com/random


curl https://www.greetingsapi.com/random

Python


import requests

response = requests.get("https://www.greetingsapi.com/random")
json_data = response.json()
print(json_data)

Ruby


require 'net/http'

url = 'https://greetingsapi.com/random'
uri = URI('url')
response = Net::HTTP.get_response(URI.parse(url))
puts response.body

GET a list of available languages

Get a list of available languages

GET https://www.greetingsapi.com/languages


curl https://www.greetingsapi.com/languages

Python


import requests

response = requests.get("https://www.greetingsapi.com/languages")
json_data = response.json()
print(json_data)

Ruby


require 'net/http'

url = 'https://www.greetingsapi.com/languages'
uri = URI('url')
response = Net::HTTP.get_response(URI.parse(url))
puts response.body

GET a list of available greetings

GET https://www.greetingsapi.com/greetings


curl https://www.greetingsapi.com/greetings

Python


import requests

response = requests.get("https://www.greetingsapi.com/greetings")
json_data = response.json()
print(json_data)

Ruby


require 'net/http'

url = 'https://www.greetingsapi.com/greetings'
uri = URI('url')
response = Net::HTTP.get_response(URI.parse(url))
puts response.body