Dólar API

$52,000.00

Esta API realiza las siguientes funciones:
+ Obtiene dinámicamente el valor dólar desde varios bancos.
+ Obtiene dinámicamente un promedio del valor dólar.
+ Te permite ver valor compra, valor venta, porcentaje de variación, spread.

Compra en hasta 12 pagos sin tarjeta con Mercado Pago
Categories: , Share:

Descripción

Para acceder a la API, llamar mediante CURL a la URL https://wanderlust.codes/dolar-hoy/api.php

Tipos de llamadas: full / promedio

Ejemplos

CURL

  $params = array(
    "method" => array(
      "get_cotizaciones" => array(
        'api_key' => 'xxxxxxx',
        'get'     => 'full',
      )
     )
  );		
    
      $ch = curl_init();
      curl_setopt_array($ch,	
                            array(	
                              CURLOPT_TIMEOUT	=> 30,
                              CURLOPT_POST => TRUE,
                              CURLOPT_POSTFIELDS => http_build_query($params),
                              CURLOPT_URL => 'https://wanderlust.codes/dolar-hoy/api.php',
                              CURLOPT_RETURNTRANSFER => TRUE,
                              CURLOPT_FOLLOWLOCATION	=> TRUE
                            )
                          );

      $response = curl_exec ($ch);			
      $response = json_decode($response);

 

WORDPRESS CURL

  $params = array(
    "method" => array(
      "get_cotizaciones" => array(
        'api_key' => 'xxxxxxx',
        'get'     => 'full',
      )
     )
  );
$response = wp_remote_post( 'https://wanderlust.codes/dolar-hoy/api.php', array(
          'body'    => $params,
        ) );
 
$response = json_decode($response['body']);

 

Respuesta

 

{"0":{"banco":"Ditur","compra":"$53,50","venta":"$58,50","variacion":"-8,59%","spread":"$5,00","updated":"15-agosto-2019-03:50-p.m."},"1":{"banco":"BancoProvincia","compra":"$54,00","venta":"$59,00","variacion":"-4,84%","spread":"$5,00","updated":"15-agosto-2019-03:50-p.m."},"2":{"banco":"Vaccaro","compra":"$55,00","venta":"$59,00","variacion":"-3,28%","spread":"$4,00","updated":"15-agosto-2019-03:50-p.m."},"3":{"banco":"CambioAlpe","compra":"$55,00","venta":"$59,00","variacion":"-2,48%","spread":"$4,00","updated":"15-agosto-2019-03:50-p.m."},"4":{"banco":"MaxintaCambio\r\n(Microcentro)","compra":"$54,00","venta":"$59,00","variacion":"-3,28%","spread":"$5,00","updated":"15-agosto-2019-03:50-p.m."},"5":{"banco":"MaxintaCambio\r\n(Liniers)","compra":"$54,00","venta":"$59,00","variacion":"-4,84%","spread":"$5,00","updated":"15-agosto-2019-03:50-p.m."},"6":{"banco":"MaxintaCambio\r\n(Mart\u00ednez)","compra":"$54,00","venta":"$59,00","variacion":"-4,84%","spread":"$5,00","updated":"15-agosto-2019-03:50-p.m."},"7":{"banco":"MaxintaCambio\r\n(Canning)","compra":"$54,00","venta":"$59,00","variacion":"-4,84%","spread":"$5,00","updated":"15-agosto-2019-03:50-p.m."},"8":{"banco":"LaMonetaCambio","compra":"$54,00","venta":"$59,00","variacion":"-3,28%","spread":"$5,00","updated":"15-agosto-2019-03:50-p.m."},"9":{"banco":"BancoGalicia","compra":"$54,00","venta":"$59,00","variacion":"-6,35%","spread":"$5,00","updated":"15-agosto-2019-03:50-p.m."},"10":{"banco":"BancoNaci\u00c3\u00b3n","compra":"$54,00","venta":"$59,00","variacion":"-6,35%","spread":"$5,00","updated":"15-agosto-2019-03:51-p.m."},"11":{"banco":"BancoProvinciadelNeuqu\u00c3\u00a9n","compra":"$53,20","venta":"$59,20","variacion":"-6,62%","spread":"$6,00","updated":"15-agosto-2019-03:50-p.m."},"12":{"banco":"PlusCambio","compra":"$57,30","venta":"$59,30","variacion":"-3,89%","spread":"$2,00","updated":"15-agosto-2019-03:50-p.m."},"13":{"banco":"IBCambio","compra":"$56,63","venta":"$59,46","variacion":"-4,62%","spread":"$2,83","updated":"15-agosto-2019-03:50-p.m."},"14":{"banco":"CambioParis","compra":"$55,00","venta":"$59,50","variacion":"-0,83%","spread":"$4,50","updated":"15-agosto-2019-03:50-p.m."},"15":{"banco":"BancoSantanderR\u00c3\u00ado","compra":"$55,48","venta":"$59,73","variacion":"-4,02%","spread":"$4,25","updated":"15-agosto-2019-03:50-p.m."},"16":{"banco":"Dolaria","compra":"$57,00","venta":"$59,90","variacion":"-3,39%","spread":"$2,90","updated":"15-agosto-2019-03:50-p.m."},"17":{"banco":"NyMCambio","compra":"$56,25","venta":"$60,00","variacion":"-3,23%","spread":"$3,75","updated":"15-agosto-2019-03:50-p.m."},"18":{"banco":"ArsCambios","compra":"$55,00","venta":"$60,00","variacion":"-4,76%","spread":"$5,00","updated":"15-agosto-2019-03:50-p.m."},"19":{"banco":"ElDorado","compra":"$54,00","venta":"$60,00","variacion":"-3,23%","spread":"$6,00","updated":"15-agosto-2019-03:50-p.m."},"20":{"banco":"BancoCiudad","compra":"$54,00","venta":"$60,00","variacion":"-4,76%","spread":"$6,00","updated":"15-agosto-2019-03:50-p.m."},"21":{"banco":"MontevideoCambio","compra":"$54,00","venta":"$60,00","variacion":"-0,83%","spread":"$6,00","updated":"15-agosto-2019-03:50-p.m."},"22":{"banco":"BancoPatagonia","compra":"$54,00","venta":"$60,00","variacion":"-4,76%","spread":"$6,00","updated":"15-agosto-2019-03:50-p.m."},"23":{"banco":"Chel\u00c3\u00adn","compra":"$53,00","venta":"$60,00","variacion":"-3,23%","spread":"$7,00","updated":"15-agosto-2019-03:50-p.m."},"24":{"banco":"BancoHipotecario","compra":"$56,00","venta":"$60,00","variacion":"-3,23%","spread":"$4,00","updated":"15-agosto-2019-03:50-p.m."},"25":{"banco":"CambioAtenas","compra":"$55,00","venta":"$60,00","variacion":"-3,23%","spread":"$5,00","updated":"15-agosto-2019-03:50-p.m."},"26":{"banco":"BancodeC\u00c3\u00b3rdoba","compra":"$54,90","venta":"$60,10","variacion":"-3,22%","spread":"$5,20","updated":"15-agosto-2019-03:51-p.m."},"27":{"banco":"BBVABancoFranc\u00c3\u00a9s","compra":"$55,51","venta":"$60,49","variacion":"-3,20%","spread":"$4,98","updated":"15-agosto-2019-03:50-p.m."},"28":{"banco":"BancodelChubut","compra":"$55,23","venta":"$60,73","variacion":"-2,57%","spread":"$5,50","updated":"15-agosto-2019-03:50-p.m."},"29":{"banco":"BancodeLaPampa","compra":"$55,50","venta":"$60,90","variacion":"-3,94%","spread":"$5,40","updated":"15-agosto-2019-03:40-p.m."},"30":{"banco":"BancoSupervielle","compra":"$55,10","venta":"$60,90","variacion":"-3,18%","spread":"$5,80","updated":"15-agosto-2019-03:50-p.m."},"31":{"banco":"ICBC","compra":"$56,20","venta":"$61,00","variacion":"-4,69%","spread":"$4,80","updated":"15-agosto-2019-03:50-p.m."},"32":{"banco":"GISCambio","compra":"$54,00","venta":"$61,00","variacion":"-3,17%","spread":"$7,00","updated":"15-agosto-2019-03:50-p.m."},"33":{"banco":"BancoCredicoop","compra":"$55,00","venta":"$61,00","variacion":"-2,40%","spread":"$6,00","updated":"15-agosto-2019-03:50-p.m."},"34":{"banco":"CarbaturCambio","compra":"$54,00","venta":"$61,00","variacion":"-3,17%","spread":"$7,00","updated":"15-agosto-2019-03:50-p.m."},"35":{"banco":"BancoMariva","compra":"$56,00","venta":"$61,00","variacion":"-2,40%","spread":"$5,00","updated":"15-agosto-2019-03:50-p.m."},"36":{"banco":"CambioSanNicol\u00c3\u00a1s\r\n(Mart\u00ednez)","compra":"$51,00","venta":"$61,00","variacion":"=0,00%","spread":"$10,00","updated":"15-agosto-2019-03:50-p.m."},"37":{"banco":"BancoBica","compra":"$54,05","venta":"$61,05","variacion":"-2,24%","spread":"$7,00","updated":"15-agosto-2019-03:50-p.m."},"38":{"banco":"Fenus","compra":"$55,81","venta":"$61,52","variacion":"-3,23%","spread":"$5,71","updated":"15-agosto-2019-03:50-p.m."},"39":{"banco":"BancoMeridian","compra":"$52,00","venta":"$62,00","variacion":"-3,13%","spread":"$10,00","updated":"15-agosto-2019-03:50-p.m."},"40":{"banco":"BancoMasventas","compra":"$54,00","venta":"$62,00","variacion":"-4,62%","spread":"$8,00","updated":"15-agosto-2019-03:51-p.m."},"41":{"banco":"BancoSantaCruz","compra":"$54,00","venta":"$62,08","variacion":"-1,59%","spread":"$8,08","updated":"15-agosto-2019-03:50-p.m."},"42":{"banco":"BancoSantaFe","compra":"$54,00","venta":"$62,08","variacion":"-3,12%","spread":"$8,08","updated":"15-agosto-2019-03:50-p.m."},"43":{"banco":"BancodeSanJuan","compra":"$54,00","venta":"$62,08","variacion":"-3,12%","spread":"$8,08","updated":"15-agosto-2019-03:50-p.m."},"44":{"banco":"BancoEntreR\u00c3\u00ados","compra":"$54,00","venta":"$62,08","variacion":"-3,12%","spread":"$8,08","updated":"15-agosto-2019-03:50-p.m."},"45":{"banco":"BancodeTierradelFuego","compra":"$54,00","venta":"$64,00","variacion":"0,79%","spread":"$10,00","updated":"15-agosto-2019-03:50-p.m."},"46":{"banco":"CambioSanNicol\u00c3\u00a1s\r\n(SanNicol\u00e1sdelosArroyos)","compra":"$57,00","venta":"$65,00","variacion":"3,17%","spread":"$8,00","updated":"15-agosto-2019-03:50-p.m."}}

 

 

Valoraciones

No hay valoraciones aún.

Sé el primero en valorar “Dólar API”

Shopping cart

No products in the cart.