API Documentation 👩💻
Explore various APIs with detailed documentation and examples. Select an API to view available endpoints and try them out.
Explore various APIs with detailed documentation and examples. Select an API to view available endpoints and try them out.
Endpoints:
GET: /api/tempmail.php?action=get_email
Response: { "message": "Temporary email generated successfully.", "email": "generatedemail@domain.com" }
GET: /api/tempmail.php?action=get_messages&email=generated_email
Response: { "message": "Messages retrieved successfully.", "messages": [ { "id": 1, "subject": "Subject", "date": "2024-12-19" } ] }
GET: /api/tempmail.php?action=read_message&email=generated_email&id=message_id
Response: { "message": "Message retrieved successfully.", "email": { "subject": "Subject", "content": "Email content" } }
Endpoint:
GET: /api/jsogen.php?htmlCode=html_string
Response: { "generatedScript": "< script type="text/javascript" src="https://htgapisitedt.x10.mx/jso/gen/generatedid.js"></ script>" }
Endpoint:
GET: /api/baseconverter.php?action=convert_base&number={number}&fromBase={basevalue}&toBase=true
Response: { "originalNumber": "1110101011", "fromBase": 2, "Binary": { "convertedValue": "1110101011", "explanation": "Step 1: Convert 1110101011 from base 2 to Binary: 1110101011\n" }, "Octal": { "convertedValue": "1653", "explanation": "(001_2 = 1_8)\n(110_2 = 6_8)\n(101_2 = 5_8)\n(011_2 = 3_8)\n" }, "Decimal": { "convertedValue": "939", "explanation": "Step 1: Convert 1110101011 from base 2 to Decimal: 939\n" }, "Hexadecimal": { "convertedValue": "3AB", "explanation": "(0011_2 = 3_{16})\n(1010_2 = A_{16})\n(1011_2 = B_{16})\n" } }
Endpoint:
GET: /api/ttdownload.php?url=Video_url
Response: { "creator": "Harry Dev", "title": "Video Title", "author": "Account Name", "nowm": "No-Water Mark Video Download url", "watermark": "Water Mark Video Download url", "audio": "Audio Download of the Video", "thumbnail": "Thumbnail Image Url" }
Endpoint:
GET: /api/tiktok.php?id=tiktok_profile_url
Response: { "followers": "83400000", "following": "14", "likes": "336500000", "id": "tiktok", "name": "TikTok", "avatar": "Image_url", "total_videos": "1112", "videos": [], "admin": "HTG GAMER YT Dev" }
Endpoint:
GET: /api/whois-domain.php?domain=Domain
Response: { "WhoisRecord": { "createdDate": "1992-01-01", "domainName": "a.com", "rawText": "", "parseCode": 9, "header": "", "strippedText": "", "footer": "", "audit": { "createdDate": "2024-12-21 20:58:09 UTC", "updatedDate": "2024-12-21 20:58:09 UTC" }, "registrarName": "RESERVED-Internet Assigned Numbers Authority", "registrarIANAID": "376", "createdDateNormalized": "1992-01-01 00:00:00 UTC", "dataError": "RESERVED_DOMAIN_NAME", "registryData": { "createdDate": "1993-12-01T05:00:00Z", "updatedDate": "2024-12-09T08:23:17Z", "expiresDate": "2025-12-08T16:57:30Z", "domainName": "a.com", "status": "", "rawText": "", "parseCode": 123, "header": "", "strippedText": "", "footer": "", "audit": { "createdDate": "2024-12-21 20:58:08 UTC", "updatedDate": "2024-12-21 20:58:08 UTC" }, "registrarName": "RESERVED-Internet Assigned Numbers Authority", "registrarIANAID": "376", "createdDateNormalized": "1993-12-01 05:00:00 UTC", "updatedDateNormalized": "2024-12-09 08:23:17 UTC", "expiresDateNormalized": "2025-12-08 16:57:30 UTC", "dataError": "RESERVED_DOMAIN_NAME", "whoisServer": "whois.iana.org" }, "domainNameExt": ".com", "estimatedDomainAge": 11344 }, "Api_By": "Api By Harry" }
Endpoint:
GET: /api/numbistrue.php?data={DATA}&data1={DATA_01}
Response: { "status": 1, "message": "Both have the same value." } ELSE { "status": 0, "message": "Both are different data." }
Endpoint:
GET: /api/numbistrue.php?input={INPUT}
Response: { "status": 1, "message": "This is a number." } ELSE { "status": 0, "message": "This is alphabetical or contains non-numeric characters." }
Endpoint:
GET: /api/nic.php?nic=NIC_Number
Response: { "nic": "NIC", "year": "Year", "month": "Month", "day": Date, "gender": "Gender", "age": Age, "dob": "Date Of Birth" }
Endpoint:
GET: /api/storageconvert.php?action=convert_storage&value={Value}&from=gb&to=allr
Response: { "originalValue": "20", "fromUnit": "GB", "convertedValues": { "b": Data_b, "B": Data_B, "KB": Data_KB, "MB": Data_MB, "GB": Data_GB, "TB": Data_TB, "PB": Data_PB, "EB": Data_EB }, "explanation": "EXPLIAN" }
Endpoint:
GET: /api/url.php?action=shorten&url={URL}s
Response: { "short_url": "https://htggameryt.htgtopup.com/url.php?goto=EXAMPLE", 'short_url_2' => "https://htgtopup.com/url.php?goto=EXAMPLE", "code": "CODE_GEN" }
Endpoint:
GET: /api/url.php?action=unshorten&code={CODE}
Response: { "original_url": "https://example.com" }
Endpoint:
GET: /api/url.php?action=analyze&code={code}
Response: { "url_data": { "id": 7, "original_url": "ORIGINAL URL", "short_code": "CODE", "created_at": "DATE _ TIME", "clicks": 5, "last_accessed": "DATE_TIME" } }
Endpoint:
GET: /api/convertrate?source=LKR&target=USD
Response: [ { "source": "LKR", "target": "USD", "value": 0.00334863, "time": 1738753200000 }, { "source": "LKR", "target": "USD", "value": 0.00334952, "time": 1738756800000 }, { "source": "LKR", "target": "USD", "value": 0.00334896, "time": 1738760400000 }, { "source": "LKR", "target": "USD", "value": 0.0033484, "time": 1738764000000 }, { "source": "LKR", "target": "USD", "value": 0.0033484, "time": 1738767600000 }, { "source": "LKR", "target": "USD", "value": 0.00334846, "time": 1738771200000 }, { "source": "LKR", "target": "USD", "value": 0.00334846, "time": 1738774800000 }, { "source": "LKR", "target": "USD", "value": 0.00334846, "time": 1738778400000 } ]