/v1/meta
Service metadata
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/collegemajors-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/collegemajors-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/collegemajors-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/collegemajors-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"service": "collegemajors-api",
"endpoints": {
"GET /v1/list": "List all majors (limit, offset).",
"GET /v1/meta": "This document.",
"GET /v1/rank": "Rank majors by metric (by=median_earnings|unemployment_rate|total|share_women, order, limit).",
"GET /v1/major": "Major by name (name=, e.g. Petroleum Engineering) or code.",
"GET /v1/search": "Search majors by name or category (q=).",
"GET /v1/category": "Majors in a category (category=, e.g. Engineering), best-paid first."
},
"categories": {
"Arts": 8,
"Health": 12,
"Business": 13,
"Education": 16,
"Engineering": 29,
"Social Science": 9,
"Interdisciplinary": 1,
"Physical Sciences": 10,
"Law & Public Policy": 5,
"Biology & Life Science": 14,
"Computers & Mathematics": 11,
"Psychology & Social Work": 9,
"Humanities & Liberal Arts": 15,
"Communications & Journalism": 4,
"Agriculture & Natural Resources": 10,
"Industrial Arts & Consumer Services": 7
},
"description": "Earnings and employment outcomes for US college majors (FiveThirtyEight / American Community Survey): name, category, graduates, share women, median / P25 / P75 earnings, unemployment rate and college-job counts. Look up by name or code, list a category, rank by earnings or unemployment, or search. Distinct from universities-api (institutions). No key.",
"total_majors": 173,
"rankable_metrics": [
"median_earnings",
"unemployment_rate",
"total",
"share_women"
]
},
"meta": {
"timestamp": "2026-06-09T03:03:50.489Z",
"request_id": "092e8d0f-5382-4843-9ec1-7271dd6bb2cd"
},
"status": "ok",
"message": "Meta",
"success": true
}