REST API · Real-Time · Free Tier

GBP to PKR Exchange Rate API

Convert British Pound to Pakistani Rupee programmatically. Mid-market rates from Reuters, updated every 60 seconds.

GBP → PKR
British Pound to Pakistani Rupee
Loading…
LIVE
Mid-market rate · Source: Reuters/Refinitiv · Updated every 60s ·

Start Using the GBP/PKR API

Create a free account and get your API key in seconds. No credit card required.

Get Free API Key →

API Request & Response

Get the GBP/PKR rate with a single API call.

Request
curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://exchange-rateapi.com/api/v1/rates?source=GBP&target=PKR"
Response · 200 OK
{
  "source": "GBP",
  "target": "PKR",
  "rate": 351.5339,
  "timestamp": "2026-05-13T12:00:00Z"
}

Code Examples

Copy-paste integration for GBP to PKR conversion.

curl -s -H "Authorization: Bearer YOUR_API_KEY" \
  "https://exchange-rateapi.com/api/v1/rates?source=GBP&target=PKR" | jq .
const response = await fetch(
  "https://exchange-rateapi.com/api/v1/rates?source=GBP&target=PKR",
  { headers: { "Authorization": `Bearer ${API_KEY}` } }
);
const data = await response.json();
console.log(`GBP/PKR: ${data.rate}`);
import requests

response = requests.get(
    "https://exchange-rateapi.com/api/v1/rates",
    params={"source": "GBP", "target": "PKR"},
    headers={"Authorization": f"Bearer {API_KEY}"}
)
data = response.json()
print(f"GBP/PKR: {data['rate']}")
$ch = curl_init();
curl_setopt_array($ch, [
    CURLOPT_URL => "https://exchange-rateapi.com/api/v1/rates?source=GBP&target=PKR",
    CURLOPT_HTTPHEADER => ["Authorization: Bearer " . $apiKey],
    CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
echo "GBP/PKR: " . $data['rate'];
JavaScript SDK
// npm install @exchangerateapi/sdk
import { ExchangeRateAPI } from '@exchangerateapi/sdk';

const api = new ExchangeRateAPI('YOUR_API_KEY');
const rate = await api.latest('GBP', 'PKR');
console.log(rate); // 351.5339
Python SDK
# pip install exchangerateapi
from exchange_rateapi import ExchangeRateAPI

api = ExchangeRateAPI("YOUR_API_KEY")
rate = api.get_rate("GBP", "PKR")
print(rate)  # 351.5339

Historical GBP/PKR Rates via API

Retrieve historical exchange rate data for trend analysis, backtesting, and reporting.

Historical Rates Endpoint
curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://exchange-rateapi.com/api/historical-rates?source=GBP&target=PKR&period=30d"
📅

1D · Hourly

Hourly snapshots for the past 24 hours

📈

7D / 30D · Daily

Daily closing rates for weekly and monthly views

📆

1Y · Daily

Full year of daily rates for long-term trends

Why Use Our GBP/PKR API

60-Second Updates

Real-time interbank rates from Reuters/Refinitiv

🔒

Simple Bearer Auth

One API key, one header. Start in seconds

🌐

<50ms Globally

Cloudflare edge network in 300+ cities

📦

Official SDKs

JavaScript, Python, PHP, and React

💰

Mid-Market Rates

No markup, no spread, no hidden fees

🆕

Free Tier

300 requests/month. No credit card required

GBP/PKR API — FAQ

Send a GET request to https://exchange-rateapi.com/api/v1/rates?source=GBP&target=PKR with your API key in the Authorization: Bearer header. The JSON response includes the current mid-market rate.
Yes. The free tier includes 300 requests per month for all 160+ currencies, including GBP/PKR. No credit card required. Paid plans start at €4.99/month for 5,000 requests.
Every 60 seconds. Rates are sourced from Reuters/Refinitiv interbank feeds and represent the mid-market rate — the midpoint between buy and sell prices with no markup.
Yes. Use the /api/historical-rates endpoint with period=1d, 7d, 30d, or 1y. Custom date ranges are available on paid plans with from and to parameters.
Yes. Add the amount parameter: ?source=GBP&target=PKR&amount=1000. The response includes both the rate and the converted amount.
All official SDKs: JavaScript (npm install @exchangerateapi/sdk), Python (pip install exchangerateapi), PHP (composer require exchangerateapi/sdk), and React.

Related Currency Pair APIs

View all currency pair APIs →