Portal de Integración

API JSON & Widget de Cotizaciones
para Desarrolladores

Integre el valor del Dólar Blue, Euro, Real y USDT en Córdoba de forma gratuita en su sitio web, blog o aplicación móvil.

💻 Generador de Widget Embebible (iFrame)

Personalice la apariencia del cotizador para que combine perfectamente con el diseño de su sitio web.

Opciones de Personalización

Vista Previa e Instalación

🚀 Documentación de la API JSON

Consuma las tasas de cambio procesadas y normalizadas directamente en su backend o frontend.

GET https://dolarencordoba.pages.dev/api/prices.php

Ejemplo de Respuesta JSON

{
  "dolar": { "buy": 1520, "sell": 1555 },
  "usdt": { "buy": 1519, "sell": 1588 },
  "euro": { "buy": 1700, "sell": 1839 },
  "real": { "buy": 273, "sell": 321 },
  "updated_at": "14:49:44",
  "active_source": "finanzasargy"
}

Ejemplos de Integración

JavaScript (Browser / NodeFetch)

fetch('https://dolarencordoba.pages.dev/api/prices.php')
  .then(res => res.json())
  .then(data => {
    console.log('Cotización Dólar en Córdoba:', data.dolar.sell);
  });

React / Next.js Hook

import { useEffect, useState } from 'react';

export function useDolarCordoba() {
  const [prices, setPrices] = useState(null);

  useEffect(() => {
    fetch('https://dolarencordoba.pages.dev/api/prices.php')
      .then(res => res.json())
      .then(setPrices);
  }, []);

  return prices;
}

PHP Server-Side

<?php
$json = file_get_contents('https://dolarencordoba.pages.dev/api/prices.php');
$data = json_decode($json, true);
echo "Dólar Venta Córdoba: $" . $data['dolar']['sell'];
?>