/v1/types
List supported types
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/jsonld-api/v1/types" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/jsonld-api/v1/types", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/jsonld-api/v1/types");
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/jsonld-api/v1/types",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"types": [
{
"type": "article",
"fields": [
"headline",
"description",
"image",
"author",
"publisher",
"logo",
"datePublished",
"dateModified",
"url"
],
"aliases": [
"BlogPosting",
"NewsArticle"
]
},
{
"type": "product",
"fields": [
"name",
"description",
"image",
"sku",
"brand",
"price",
"currency",
"availability",
"url",
"rating",
"reviewCount"
]
},
{
"type": "organization",
"fields": [
"name",
"url",
"logo",
"description",
"email",
"telephone",
"sameAs",
"businessType"
]
},
{
"type": "localbusiness",
"fields": [
"name",
"url",
"image",
"telephone",
"priceRange",
"street",
"city",
"region",
"postalCode",
"country",
"openingHours",
"businessType"
]
},
{
"type": "person",
"fields": [
"name",
"url",
"jobTitle",
"image",
"email",
"sameAs"
]
},
{
"type": "website",
"fields": [
"name",
"url",
"search"
]
},
{
"type": "breadcrumb",
"fields": [
"items (name|url pairs, or JSON array of {name,url})"
]
},
{
"type": "faq",
"fields": [
"items (question|answer pairs, or JSON array of {question,answer})"
]
},
{
"type": "event",
"fields": [
"name",
"description",
"startDate",
"endDate",
"url",
"image",
"location",
…