Naar de inhoud
GET /v1/similar

Similar-meaning words

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/words-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/words-api/v1/similar" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/words-api/v1/similar", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/words-api/v1/similar");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/words-api/v1/similar",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "type": "similar_meaning",
        "word": "ocean",
        "count": 20,
        "results": [
            {
                "tags": [
                    "syn",
                    "n",
                    "results_type:primary_rel"
                ],
                "word": "sea",
                "score": 40041792
            },
            {
                "tags": [
                    "n"
                ],
                "word": "expanse",
                "score": 30041645
            },
            {
                "tags": [
                    "adj",
                    "n",
                    "prop"
                ],
                "word": "oceanic",
                "score": 30041524
            },
            {
                "tags": [
                    "n"
                ],
                "word": "seabed",
                "score": 30040935
            },
            {
                "tags": [
                    "n"
                ],
                "word": "seafloor",
                "score": 30040708
            },
            {
                "tags": [
                    "adj",
                    "prop"
                ],
                "word": "oceanographic",
                "score": 30040704
            },
            {
                "tags": [
                    "n"
                ],
                "word": "pelagic",
                "score": 30040597
            },
            {
                "tags": [
                    "n"
                ],
                "word": "oceanography",
                "score": 30040196
            },
            {
                "tags": [
                    "n"
                ],
                "word": "marine",
                "score": 30039769
            },
            {
                "tags": [
                    "n"
                ],
                "word": "midstream",
                "score": 30039492
            },
            {
                "tags": [
                    "n"
                ],
                "word": "coast",
                "score": 30039440
            },
            {
                "tags": [
                    "n"
                ],
                "word": "pond",
                "score": 30039027
            },
            {
                "tags": [
                    "n"
                ],
                "word": "water",
                "score": 30035370
            },
            {
                "tags": [
                    "n"
                ],
                "word": "seawater",
                "score": 30029515
            },
            {
                "tags": [
                    "n"
                ],
                "word": "waters",
                "score": 30015259
            },
            {
                "tags": [
                    "n"
                ],
                "word": "seaway",
                "score": 30012345
            },
            {
                "tags": [
          
…