Developer Tools

Hostinger

Web hosting and domain management platform with APIs for billing, domains, DNS, and VPS management

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • List Websites

    List websites. Retrieve a paginated list of websites (main and addon types) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.

  • List Website Setups

    List website setups started in the last 24 hours, newest first. Filter by order_id, subscription_id, or domain. After creating a website, poll by domain every 10 to 15 seconds until the status is completed before using website-specific actions.

  • List WHOIS Profiles

    Retrieve WHOIS contact profiles for domain registration. Use this endpoint to view available contact profiles that can be used when registering domains. Optionally filter by TLD to get profiles applicable to specific domain extensions.

  • Update Product

    Update a product's details, status, SEO settings, or collection membership. Variants, prices, and inventory are managed by separate variant endpoints.

  • Validate DNS Records

    Validate DNS records for a selected domain before applying changes. Returns an optional validation message; HTTP errors are raised.

  • Verify Domain Ownership

    Verify ownership of a single domain and return the verification status. Use this endpoint to check if a domain is accessible for you before using it for new websites. If the domain is accessible, the response will have `is_accessible: true`. If not, add the given TXT record to your domain's DNS records and try verifying again. Keep in mind that it may take up to 10 minutes for new TXT DNS records to propagate. Skip this verification when using Hostinger's free subdomains (*.hostingersite.com).

PreviousPage 2 / 2