Μετάβαση στο περιεχόμενο
GET /v1/meta

Service metadata

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/nationaldishes-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "service": "nationaldishes-api",
        "endpoints": {
            "GET /v1/dish": "National dish by country (country=, e.g. Italy) or code (code=, e.g. it).",
            "GET /v1/list": "List national dishes (limit, offset, with_dish=true to skip empties).",
            "GET /v1/meta": "This document.",
            "GET /v1/search": "Search dishes and countries by keyword (q=, e.g. rice)."
        },
        "with_dish": 145,
        "description": "The national dish of each country (open country-json dataset) enriched with ISO 3166-1 alpha-2 code and flag emoji. Look up by country or code, search dishes by keyword, or list them. No key.",
        "total_countries": 243
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:09.327Z",
        "request_id": "b3c219dd-cd1e-4421-b4b8-06051aaea62d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}