View bot webhook, send test messages, and user info fetcher.
API endpoint for BharatPe integration.
✏️ This API allows checking a BharatPe UPI payment using token and UTR ID.
GET https://api.greathost.in/bharatpe/api.php?token={token}&txn_id={utr_id}
{
"status": "SUCCESS",
"amount": 480.00,
"message": "Transaction found",
"app": "BHIM",
"payer": "Sahil Kumar"
}
Field | Type | Description |
---|---|---|
status | string | Transaction status (e.g., SUCCESS) |
amount | float | Amount received |
message | string | Message describing the result |
app | string | App used for transaction |
payer | string | Sender name |
Fetch upcoming offers using api with state wise or all over india.
Verify if user's payment via Razorpay was successful with full details.
✏️ Verify if user's payment via Razorpay was successful with full details.
Fetch live plan and price directly from your frontend website without any hustle.
✏️ Fetch live plan and price directly from your frontend website without any hustle.
Just Download Below GreatHost_Live_WHMCS_API.zip file and enter your WHMCS API Details under php file.
Make sure you have enable GetProducts and GetTLDPricing Function from WHMCS API
Download Now
Provides real-time Currency Conversion Rate.
✏️ The Currency Conversion API provides real-time exchange rates with high precision. It converts any amount from one currency to another and returns key details like source currency, target currency, original amount, converted amount, and even the value in words (e.g., 'Eighty Four Point Nine'). The response is in a clean JSON format with a status flag (result
) to indicate success. Perfect for financial tools, e-commerce, or any app needing accurate currency conversion.
GET https://api.greathost.in/currency-exchange.php?base_currency=usd&to_currency=inr&amount=100
{
"result": "SUCCESS",
"from_currency": "USD",
"to_currency": "INR",
"original_amount": 100,
"converted_amount": 8409.37,
"in_words": "Eight Thousand Four Hundred Nine Point Three Seven"
}
Field | Type | Description |
---|---|---|
result | string | Status of the API call (e.g., SUCCESS) |
from_currency | string | The base currency Ex: usd, inr, eur |
to_currency | string | The target currency Ex: usd, inr, eur |
original_amount | int/float | The amount before conversion |
converted_amount | int/float | The converted value |
in_words | string | Human-readable format of the converted amount |
Quickly check DNS records like A, MX, TXT and more with real-time results. Instantly troubleshoot domain issues with ease.
✏️ GreatHost's DNS Checker is a fast and reliable tool designed for web developers, server admins, and website owners to verify their domain's DNS records. From basic A and CNAME lookups to advanced MX, PTR, and TXT records, this tool offers precise, real-time results directly from global DNS servers. With a clean interface and free API access, it simplifies domain troubleshooting, email setup verification, and DNS propagation monitoring. Whether you're launching a new site or fixing an existing one, our DNS Checker gives you the confidence to stay in control of your domain.
Instantly view domain registrar, status, creation, and expiry details.
✏️ Our WHOIS Checker helps you quickly fetch domain ownership details, including the registrar, creation date, expiry date, and domain status. Whether you're investigating domain availability, verifying domain transfer lock, or checking registration records, this tool delivers all the important WHOIS data in one clean table. It’s perfect for web developers, hosting resellers, or anyone managing domain names.
Fetch IP-based country, city, region, ISP, and location details.
✏️ This API fetches geolocation and network details using the visitor's IP address. It returns the visitor's country, region, city, ISP, and other key data. These details are valuable for security checks and analytics. It also helps in implementing location-based services efficiently.
GET https://api.greathost.in/ip_details.php?ip={ip_address}
{
"status": "success",
"country": "India",
"countryCode": "IN",
"region": "DL",
"regionName": "National Capital Territory of Delhi",
"city": "Delhi",
"zip": "110001",
"lat": 00.0000,
"lon": 00.0000,
"timezone": "Asia/Kolkata",
"isp": "ISP_PROVIDER_NAME",
"org": "ORGANIZATION_NAME",
"as": "PROVIDER_COMAPNY_NAME",
"query": "0.0.0.0"
}
Field | Type | Description |
---|---|---|
status | string | Status of the API call (e.g., success or fail) |
country | string | Name of the country where the IP is located |
countryCode | string | Two-letter ISO country code (e.g., IN, US) |
region | string | Region code or state abbreviation |
regionName | string | Full name of the region or state |
city | string | City name based on the IP address |
zip | string | Postal or ZIP code of the location |
lat | float | Latitude coordinate of the IP location |
lon | float | Longitude coordinate of the IP location |
timezone | string | Time zone of the IP location (e.g., Asia/Kolkata) |
isp | string | Internet Service Provider associated with the IP |
org | string | Organization name using the IP address |
as | string | Autonomous System number and name |
query | string | The IP address that was queried |
Fetch the real-time transaction status of a Paytm order using the merchant ID and order ID.
✏️ This API provides detailed information about a Paytm transaction, including the transaction ID, bank reference ID, order ID, transaction amount, status, payment mode, and other key details. It is useful for verifying payment status, reconciliation, and refund tracking.
GET https://api.greathost.in/txn_get/paytm.php?mid={paytm_merchent_id}&order_id={transaction_id}
{
"TXNID": "20250XXXXXXXXXX154032499849460747",
"BANKTXNID": "648XXXXXX971",
"ORDERID": "T250XXXXXXXXXXX4033123",
"TXNAMOUNT": "50.00",
"STATUS": "TXN_SUCCESS",
"TXNTYPE": "SALE",
"GATEWAYNAME": "PPBL",
"RESPCODE": "01",
"RESPMSG": "Txn Success",
"MID": "IapXXXXXXXXXX736969",
"PAYMENTMODE": "UPI",
"REFUNDAMT": "0.0",
"TXNDATE": "2025-07-21 12:33:08.0",
"currentTxnCount": "1",
"api_by": "greathost.in"
}
Field | Type | Description |
---|---|---|
TXNID | string | Unique Paytm transaction ID for the payment |
BANKTXNID | string | Transaction reference number provided by the bank |
ORDERID | string | Unique order ID associated with the payment |
TXNAMOUNT | string | Total transaction amount |
STATUS | string | Status of the transaction (e.g., TXN_SUCCESS, TXN_FAILURE) |
TXNTYPE | string | Type of transaction (e.g., SALE) |
GATEWAYNAME | string | Name of the payment gateway used |
RESPCODE | string | Response code of the transaction (e.g., 01 for success) |
RESPMSG | string | Response message from Paytm regarding the transaction |
MID | string | Merchant ID used for the transaction |
PAYMENTMODE | string | Mode of payment (e.g., UPI, Netbanking) |
REFUNDAMT | string | Refund amount if applicable |
TXNDATE | string | Date and time of the transaction |
currentTxnCount | string | Number of transactions processed in this query |
api_by | string | API provider information |