Vai al contenuto
GET /v1/search

Search travel guides

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/wikivoyage-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/wikivoyage-api/v1/search" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wikivoyage-api/v1/search", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wikivoyage-api/v1/search");
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/wikivoyage-api/v1/search",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "count": 10,
        "query": "beaches",
        "results": [
            {
                "url": "https://en.wikivoyage.org/wiki/Beaches",
                "title": "Beaches",
                "snippet": "don't like beaches or just don't like something about the beaches you've been to. If you dislike the crowds, head to a remote, lesser-known beach, or visit"
            },
            {
                "url": "https://en.wikivoyage.org/wiki/D-Day_beaches",
                "title": "D-Day beaches",
                "snippet": "some of the D-Day beaches. On the bus website there is a map of the bus route to the D-Day beaches. Bus 70 takes you to Omaha beach, the American cemetery"
            },
            {
                "url": "https://en.wikivoyage.org/wiki/Sydney%2FNorthern_Beaches",
                "title": "Sydney/Northern Beaches",
                "snippet": "The Northern Beaches of Sydney refers to a suburban district located in the north of the city, as well as a stretch of famous beaches extending northwards"
            },
            {
                "url": "https://en.wikivoyage.org/wiki/West_Palm_Beach",
                "title": "West Palm Beach",
                "snippet": "beaches in Palm Beach County. The proximity of the Gulf Stream keeps the waters warm year-round although many miles are private a nearby public beach"
            },
            {
                "url": "https://en.wikivoyage.org/wiki/Long_Beach",
                "title": "Long Beach",
                "snippet": "which is a small, suburban city within Long Beach. The park features breathtaking views where you can see beaches of Orange County, Queen Mary, Palos Verdes"
            },
            {
                "url": "https://en.wikivoyage.org/wiki/Daytona_Beach",
                "title": "Daytona Beach",
                "snippet": "beautiful weather usually attracts tourists back to the beaches by early March. 29.1849-81.06091 Daytona Beach International Airport (DAB  IATA), 700 Catalina"
            },
            {
                "url": "https://en.wikivoyage.org/wiki/Beach_Cities",
                "title": "Beach Cities",
                "snippet": "33.541-117.7843 Laguna Beach - A resort town with popular beaches and numerous luxury resorts. 33.616-117.9314 Newport Beach - One of the wealthiest"
            },
            {
                "url": "https://en.wikivoyage.org/wiki/Virginia_Beach",
                "title": "Virginia Beach",
                "snippet": "Virginia beaches.   36.8382-75.9719511 SpringHill Suites Virginia Beach Oceanfront, 901 Atlantic Avenue, ☏ +1 757-417-3982. Located on Virginia Beach Boardwalk"
            },
            {
                "url": "https://en.wikivoyage.org/wiki/Goa",
                "title": "Goa",
                "snippet": "check Arambol beach in North Goa for tandem paragliders. Relax at the beaches — Goa has an almost unbroken 70 km coastline of beaches. Don't f
…