Deklinacija API

Free commercial use. There is no limit on usage or pricing, but please be respectful and don't abuse the API.

Slobodno korišćenje API-a za komercijalne svrhe. Nema ograničenja niti cene, ali vas molim da budete pošteni i da ne zloupotrebljavate API.

Usage

GET https://deklinacija.com/api/:name (case-insensitive)

NPM Package:

npm install deklinacija
import dekl from 'deklinacija'
dekl("Ognjen").vocative
dekl("Ognjen").vocativeCyr
dekl("Ognjen").sex

Try the API:

/api/

    

Response format

GET /api/:name returns JSON:

{
  "name": string,
  "sex": "male" | "female" | "both" | null,
  "vocative": string | null,
  "vocative_cyr": string | null,
  "status": "Success" | "Not found"
}

Examples:

{
  "name": "Ognjen",
  "sex": "male",
  "vocative": "Ognjene",
  "vocative_cyr": "Огњене",
  "status": "Success"
}
{
  "name": "Noname",
  "sex": null,
  "vocative": null,
  "vocative_cyr": null,
  "status": "Not found"
}

Live usage (last 60 minutes)

Blue: total, Green: success, Red: not found. Auto-refreshes every 10s.

Requests (last hour)

Created by Ognjen Jovanović. GitHub: github.com/ogi-joo