Buscar afiliaciones
curl --request GET \
--url https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}import requests
url = "https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"abbreviations": ["UE"],
"addresses": [
{
"city": "Gothenburg",
"country": "Suecia",
"country_code": "SE",
"lat": 57.70716,
"lng": 11.96679,
"postcode": "",
"state": "Västra Götaland"
}
],
"affiliations": null,
"aliases": [],
"citations_count": [{"count": 69, "provenance": null, "source": "scholar"}],
"description": [],
"external_ids": [{"id": "example-grid-id", "provenance": "ror", "source": "grid"}],
"external_urls": [{"provenance": null, "source": "grid", "url": "https://www.example.edu.co"}],
"h5_index": 0,
"h_index": 1,
"id": "example-institution-id",
"name": "Universidad Ejemplo",
"names": [{"lang": "en", "name": "Universidad Ejemplo", "provenance": null, "source": "ror"}],
"products_count": 1,
"ranking": [],
"relations": [],
"status": ["active"],
"subjects": [],
"types": [{"code": null, "level": null, "provenance": null, "source": "ror", "type": "archive", "type_class": null}],
"updated": [{"source": "ror", "time": 1789879262}],
"year_established": 2001
},
{
"abbreviations": ["UE"],
"addresses": [
{
"city": "Londres",
"country": "Reino Unido",
"country_code": "GB",
"lat": 51.50853,
"lng": -0.12574,
"postcode": "",
"state": "England"
}
],
"affiliations": null,
"aliases": [],
"citations_count": [{"count": 83, "provenance": null, "source": "openalex"}],
"description": [],
"external_ids": [{"id": "example-wikidata-id", "provenance": "ror", "source": "wikidata"}],
"external_urls": [{"provenance": "wikidata", "source": "logo", "url": "https://www.example.edu.co"}],
"h5_index": 1,
"h_index": 3,
"id": "example-institution-id-2",
"name": "Universidad Ejemplo 2",
"names": [{"lang": "en", "name": "Universidad Ejemplo 2", "provenance": null, "source": "ror"}],
"products_count": 11,
"ranking": [],
"relations": [],
"status": ["active"],
"subjects": [],
"types": [{"code": null, "level": null, "provenance": null, "source": "ror", "type": "archive", "type_class": null}],
"updated": [{"source": "ror", "time": 1789879262}],
"year_established": 1753
}
],
"meta": {
"count": 55111,
"cursor": {"next": "https://api.dev.impactu.colav.co/search/affiliations/institution?max=2&page=2", "previous": null},
"db_response_time_ms": 25,
"page": 1,
"size": 2
}
}
{
"error": "1 validation error for QueryParams\nmax\n Input should be greater than or equal to 1 [type=greater_than_equal, input_value='0', input_type=str]\n For further i…"
}
Search
Buscar afiliaciones
Búsqueda paginada de afiliaciones (instituciones, facultades, departamentos y grupos).
GET
/
search
/
affiliations
/
{affiliation_type}
Buscar afiliaciones
curl --request GET \
--url https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}import requests
url = "https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.impactu.colav.co/search/affiliations/{affiliation_type}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"abbreviations": ["UE"],
"addresses": [
{
"city": "Gothenburg",
"country": "Suecia",
"country_code": "SE",
"lat": 57.70716,
"lng": 11.96679,
"postcode": "",
"state": "Västra Götaland"
}
],
"affiliations": null,
"aliases": [],
"citations_count": [{"count": 69, "provenance": null, "source": "scholar"}],
"description": [],
"external_ids": [{"id": "example-grid-id", "provenance": "ror", "source": "grid"}],
"external_urls": [{"provenance": null, "source": "grid", "url": "https://www.example.edu.co"}],
"h5_index": 0,
"h_index": 1,
"id": "example-institution-id",
"name": "Universidad Ejemplo",
"names": [{"lang": "en", "name": "Universidad Ejemplo", "provenance": null, "source": "ror"}],
"products_count": 1,
"ranking": [],
"relations": [],
"status": ["active"],
"subjects": [],
"types": [{"code": null, "level": null, "provenance": null, "source": "ror", "type": "archive", "type_class": null}],
"updated": [{"source": "ror", "time": 1789879262}],
"year_established": 2001
},
{
"abbreviations": ["UE"],
"addresses": [
{
"city": "Londres",
"country": "Reino Unido",
"country_code": "GB",
"lat": 51.50853,
"lng": -0.12574,
"postcode": "",
"state": "England"
}
],
"affiliations": null,
"aliases": [],
"citations_count": [{"count": 83, "provenance": null, "source": "openalex"}],
"description": [],
"external_ids": [{"id": "example-wikidata-id", "provenance": "ror", "source": "wikidata"}],
"external_urls": [{"provenance": "wikidata", "source": "logo", "url": "https://www.example.edu.co"}],
"h5_index": 1,
"h_index": 3,
"id": "example-institution-id-2",
"name": "Universidad Ejemplo 2",
"names": [{"lang": "en", "name": "Universidad Ejemplo 2", "provenance": null, "source": "ror"}],
"products_count": 11,
"ranking": [],
"relations": [],
"status": ["active"],
"subjects": [],
"types": [{"code": null, "level": null, "provenance": null, "source": "ror", "type": "archive", "type_class": null}],
"updated": [{"source": "ror", "time": 1789879262}],
"year_established": 1753
}
],
"meta": {
"count": 55111,
"cursor": {"next": "https://api.dev.impactu.colav.co/search/affiliations/institution?max=2&page=2", "previous": null},
"db_response_time_ms": 25,
"page": 1,
"size": 2
}
}
{
"error": "1 validation error for QueryParams\nmax\n Input should be greater than or equal to 1 [type=greater_than_equal, input_value='0', input_type=str]\n For further i…"
}
Parámetros de ruta
string
requerido
Tipo de afiliación a buscar:
institution, faculty, department o group.Parámetros de consulta
string
Texto de búsqueda (nombre de la afiliación).
integer
predeterminado:"10"
Resultados por página (1 a 250).
integer
predeterminado:"1"
Número de página (mínimo 1).
string
predeterminado:"citations_desc"
Criterio de ordenamiento ascendente y descendente, por ejemplo
citations_desc, products_asc o alphabetical_desc.string
predeterminado:"citations_desc"
Ordenamiento con el formato
campo_direccion, donde la dirección es asc o
desc. Campos para afiliaciones: products (mayor producción), citations
(más citaciones), h (índice h) y h5 (índice h5). Ejemplo: products_desc.string
predeterminado:"full"
Nivel de detalle de la respuesta.
full devuelve todos los campos. summary
devuelve solo los campos principales de la entidad y, en productos, patentes y
proyectos, recorta la lista de autores a 10. Otro valor responde 400.Filtros
Los tres filtros aceptan varios valores separados por coma.string
Departamentos de la dirección de la afiliación. Se usan los valores
normalizados y se incluyen sus variantes en la base de datos. Ejemplo:
Antioquia,Tolima.string
Ciudades de la dirección de la afiliación. También se incluyen variantes como
“Bogotá, D.C.” o “Santiago de Cali”. Ejemplo:
Bogotá,Cali.string
Clasificación vigente del grupo. Se compara con el ranking más reciente (por
from_date), sin importar su fuente. Ejemplo: A1,A2.Si no envías
max, page ni sort, se aplican max=10, page=1 y
sort=citations_desc. Si envías max y page sin sort, se aplica
sort=citations_desc. Con affiliation_type=institution se incluyen todos
los tipos de institución.Respuesta
array
Lista de afiliaciones.
Mostrar propiedades de cada afiliación
Mostrar propiedades de cada afiliación
string
Identificador de la afiliación.
string | null
Nombre principal (en español si existe).
object[]
Nombres por fuente (
name, lang, source, provenance).string[]
Siglas.
string[]
Nombres alternos.
object[]
Tipos de la afiliación por fuente (
type, source, provenance).object[]
Direcciones:
city, state, country, country_code, postcode,
lat, lng.integer | null
Año de fundación.
object[]
Descripciones por fuente.
integer
Cantidad de productos.
object[]
Citas por fuente (
count, source, provenance).integer | null
Índice h.
integer | null
Índice h de los últimos 5 años.
object[]
Clasificaciones (por ejemplo, la de un grupo de investigación).
object[] | null
Afiliaciones superiores directas (por ejemplo, la institución de una
facultad). En la búsqueda puede llegar en
null.object[]
Afiliaciones relacionadas (
id, name, types, external_urls). Por
ejemplo, la institución y los departamentos de una facultad.object[]
Áreas de conocimiento.
array
Estado de la afiliación.
object[]
Identificadores externos (
id, source, provenance).object[]
Enlaces externos.
object[]
Última actualización por fuente (
source, time en segundos Unix).object
Metadatos de la respuesta.
Mostrar propiedades
Mostrar propiedades
integer
Total de resultados que cumplen la consulta.
integer
Página actual.
integer
Cantidad de resultados devueltos en esta página.
integer
Tiempo de respuesta de la base de datos en milisegundos.
{
"data": [
{
"abbreviations": ["UE"],
"addresses": [
{
"city": "Gothenburg",
"country": "Suecia",
"country_code": "SE",
"lat": 57.70716,
"lng": 11.96679,
"postcode": "",
"state": "Västra Götaland"
}
],
"affiliations": null,
"aliases": [],
"citations_count": [{"count": 69, "provenance": null, "source": "scholar"}],
"description": [],
"external_ids": [{"id": "example-grid-id", "provenance": "ror", "source": "grid"}],
"external_urls": [{"provenance": null, "source": "grid", "url": "https://www.example.edu.co"}],
"h5_index": 0,
"h_index": 1,
"id": "example-institution-id",
"name": "Universidad Ejemplo",
"names": [{"lang": "en", "name": "Universidad Ejemplo", "provenance": null, "source": "ror"}],
"products_count": 1,
"ranking": [],
"relations": [],
"status": ["active"],
"subjects": [],
"types": [{"code": null, "level": null, "provenance": null, "source": "ror", "type": "archive", "type_class": null}],
"updated": [{"source": "ror", "time": 1789879262}],
"year_established": 2001
},
{
"abbreviations": ["UE"],
"addresses": [
{
"city": "Londres",
"country": "Reino Unido",
"country_code": "GB",
"lat": 51.50853,
"lng": -0.12574,
"postcode": "",
"state": "England"
}
],
"affiliations": null,
"aliases": [],
"citations_count": [{"count": 83, "provenance": null, "source": "openalex"}],
"description": [],
"external_ids": [{"id": "example-wikidata-id", "provenance": "ror", "source": "wikidata"}],
"external_urls": [{"provenance": "wikidata", "source": "logo", "url": "https://www.example.edu.co"}],
"h5_index": 1,
"h_index": 3,
"id": "example-institution-id-2",
"name": "Universidad Ejemplo 2",
"names": [{"lang": "en", "name": "Universidad Ejemplo 2", "provenance": null, "source": "ror"}],
"products_count": 11,
"ranking": [],
"relations": [],
"status": ["active"],
"subjects": [],
"types": [{"code": null, "level": null, "provenance": null, "source": "ror", "type": "archive", "type_class": null}],
"updated": [{"source": "ror", "time": 1789879262}],
"year_established": 1753
}
],
"meta": {
"count": 55111,
"cursor": {"next": "https://api.dev.impactu.colav.co/search/affiliations/institution?max=2&page=2", "previous": null},
"db_response_time_ms": 25,
"page": 1,
"size": 2
}
}
{
"error": "1 validation error for QueryParams\nmax\n Input should be greater than or equal to 1 [type=greater_than_equal, input_value='0', input_type=str]\n For further i…"
}