Retorna uno o más listados de calles.
POST
/calles
const url = 'https://apis.datos.gob.ar/georef/api/calles';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"calles":[{"id":"example","nombre":"example","categoria":"avenida","provincia":"Santa Fe","departamento":"Rosario","localidad_censal":"Granadero Baigorria","orden":"id","aplanar":true,"campos":"estandar","max":10,"inicio":10,"exacto":true}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://apis.datos.gob.ar/georef/api/calles \ --header 'Content-Type: application/json' \ --data '{ "calles": [ { "id": "example", "nombre": "example", "categoria": "avenida", "provincia": "Santa Fe", "departamento": "Rosario", "localidad_censal": "Granadero Baigorria", "orden": "id", "aplanar": true, "campos": "estandar", "max": 10, "inicio": 10, "exacto": true } ] }'Permite realizar varias búsquedas sobre el listado de vías de circulación en simultáneo.
Request Body
Sección titulada «Request Body»Consultas en formato JSON.
Media typeapplication/json
object
calles
required
Array<object>
object
id
string
nombre
string
categoria
string
Example
avenidaprovincia
string
Example
Santa Fedepartamento
string
Example
Rosariolocalidad_censal
string
Example
Granadero Baigorriaorden
string
aplanar
Example
truecampos
string
Example
estandarmax
integer
Example
10inicio
integer
Example
10exacto
Example
trueResponses
Sección titulada « Responses »Listados de calles.
Media typeapplication/json
object
resultados
Array<object>
object
cantidad
integer
total
integer
inicio
integer
parametros
object
calles
Array<object>
object
altura
object
inicio
object
derecha
integer
izquierda
integer
fin
object
derecha
integer
izquierda
integer
id
string
nombre
string
nomenclatura
string
provincia
object
id
string
nombre
string
departamento
object
id
string
nombre
string
localidad_censal
object
id
string
nombre
string
categoria
string
Example
{ "resultados": [ { "cantidad": 10, "total": 151500, "inicio": 0, "parametros": {}, "calles": [ { "altura": { "inicio": { "derecha": 0, "izquierda": 0 }, "fin": { "derecha": 599, "izquierda": 598 } }, "id": "8208416001280", "nombre": "URQUIZA", "nomenclatura": "URQUIZA, Rosario, Santa Fe", "provincia": { "id": "82", "nombre": "Santa Fe" }, "departamento": { "id": "82084", "nombre": "Rosario" }, "localidad_censal": { "id": "82084160", "nombre": "Granadero Baigorria" }, "categoria": "OTRO" } ] } ]}Error al procesar las consultas.
Media typeapplication/json
object
errores
Array<Array<object>>
Example
{ "errores": [ [ { "codigo_interno": 1000, "mensaje": "El parámetro especificado no existe.", "nombre_parametro": "prueba", "ubicacion": "querystring" } ] ]}