info@itguidebd.com +880 1615930754

Welcome to the API documentation for the itGuide Self-Care public APIs. This documentation will provide you with details on how to access and utilize the available endpoints to manage information. All responses from these APIs will be in JSON format.

  • Integrate SMS functionality into your application seamlessly using our comprehensive SMS API. This API allows you to send both masking and non-masking SMS messages, as well as check your SMS balance effortlessly.

    Base URL: https://selfcare.itguidebd.com/public_api/

    Endpoint: smsApi?type=someType

    Methods: GET, POST

    Endpoint URL: base_url/smsApi?type=someType&apiKey=your_api_key

    Parameters:

    • type: Specify the type of SMS operation (masking, nonMasking, balance)
    • apiKey: Your unique API key (string)

    Example Request:

    https://selfcare.itguidebd.com/public_api/smsApi?type=someType&apiKey=xxxxxxxxxxxx📋 Copied!

    Example Response:

    
    {
        "status": "success",
        "message": "SMS sent successfully."
    }
                        
    
    {
        "status": "success",
        "message": "Balance retrieved successfully.",
        "masking": "450",
        "non-masking": "500"
    }
                        

    Error Handling:

    
    {
        "status": "error",
        "message": "An error occurred while processing your request."
    }
                        
    
    {
        "status": "error",
        "message": "An error occurred while checking the balance."
    }
                        

    Please make sure to handle potential errors appropriately based on the response status and message.

  • Retrieve detailed WHOIS information for a domain using our WHOIS API. Simply provide the domain name, and our API will fetch the relevant details.

    Base URL: https://selfcare.itguidebd.com/public_api/

    Endpoint: whois

    Method: GET

    Endpoint URL (New Domain Search): base_url/whois?type=check&apiKey=your_api_key&domain=newdomain.com

    Endpoint URL (Domain Information Query): base_url/whois?type=query&apiKey=your_api_key&domain=existingdomain.com

    Parameters:

    • type: Specify the type of query (string, e.g., check for new domain search, query for domain information)
    • apiKey: Your unique API key (string)
    • domain: The domain name for WHOIS lookup (string)

    Example Request (New Domain Search):

    https://selfcare.itguidebd.com/public_api/whois?type=check&apiKey=xxxxxxxxxxxx&domain=newdomain.com📋 Copied!

    Example Request (Domain Information Query):

    https://selfcare.itguidebd.com/public_api/whois?type=query&apiKey=xxxxxxxxxxxx&domain=existingdomain.com📋 Copied!

    Example Response:

    New Domain Search

    
    {
        "result": "available"
    }
                                    
    
    {
        "result": "registered"
    }
                                    

    Domain Information Query

    
    {
        "result": {
            "address": null,
            "city": null,
            "country": null,
            "creation_date": "1997-09-15 04:00:00",
            "dnssec": "unsigned",
            "domain_name": "GOOGLE.COM",
            "emails": "abusecomplaints@markmonitor.com",
            "expiration_date": "2028-09-14 04:00:00",
            "name": null,
            "name_servers": [
            "NS1.GOOGLE.COM",
            "NS2.GOOGLE.COM",
            "NS3.GOOGLE.COM",
            "NS4.GOOGLE.COM"
            ],
            "org": null,
            "referral_url": null,
            "registrar": "MarkMonitor Inc.",
            "state": null,
            "status": [
            "clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited",
            "clientTransferProhibited https://icann.org/epp#clientTransferProhibited",
            "clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited",
            "serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited",
            "serverTransferProhibited https://icann.org/epp#serverTransferProhibited",
            "serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited"
            ],
            "updated_date": "2019-09-09 15:39:04",
            "whois_server": "whois.markmonitor.com",
            "zipcode": null
        }
        }
                                    

    Error Handling:

    Error Codes:

    • 400 - Bad Request: The request was unacceptable, often due to missing a required parameter.
    • 401 - Unauthorized: No valid API key provided.
    • 404 - Not Found: The requested resource doesn't exist.
    • 429 - Too Many Requests: API request limit exceeded. See section Rate Limiting for more info.
    • 5xx - Server Error: We have failed to process your request. (You can contact us anytime)

    Please make sure to handle potential errors appropriately based on the response status and message.

* For more detailed information, you can visit the itGuideAPI GitHub Repository.

* If you have any questions or encounter any issues, please don't hesitate to reach out to our support team at info@itguidebd.com.