/v1/similar
Similar-meaning words
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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": [
…