7 endpoints för URL metadata extraction and link previews via Microlink (title, beskrivning, bilder, screenshots), profanity detection and innehåll filtering via PurgoMalum, and slumpmässig advice från Advice Slip API. Utmärkt för innehåll moderation, social sharing previews, and chatbots.
Bas-URL: https://nordapi.ee/api/v1
GET /link/preview
Extract metadata från valfri URL: titel, beskrivning, author, publisher, language, bilder, and logos. Perfekt för att bygga link preview kort like de in Slack, Twitter, or Discord.
url
obligatorisk
curl "https://nordapi.ee/api/v1/link/preview?url=https://github.com"
GET /link/screenshot
Extract metadata från a URL plus capture a screenshot bild. Returnerar the same data as link preview med an additional screenshot URL.
url
obligatorisk
curl "https://nordapi.ee/api/v1/link/screenshot?url=https://github.com"
GET /profanity/filter
Filter profanity från text, replacing bad ord med asterisks or a anpassad replacement. Stöder adding anpassad ord to filter.
text
obligatorisk
add
valfri
fill_char
valfri
fill_text
valfri
curl "https://nordapi.ee/api/v1/profanity/filter?text=hello+world"
GET /profanity/check
Kontrollera om text innehåller svordomar. Returnerar sant eller falskt.
text
obligatorisk
curl "https://nordapi.ee/api/v1/profanity/check?text=hello+world"
GET /advice/random
Hämta ett slumpmässigt råd. Utmärkt för chatbotar, dagliga widgetar och inspirationsappar.
curl https://nordapi.ee/api/v1/advice/random
GET /advice/search
Sök efter råd som innehåller specifika nyckelord.
q
obligatorisk
curl "https://nordapi.ee/api/v1/advice/search?q=love"
GET /advice/:id
Get a specific piece of advice by its ID.
curl https://nordapi.ee/api/v1/advice/42