hostinger-api-mcp 1.29.0 → 1.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -466,6 +466,57 @@ export default [
466
466
  ],
467
467
  "group": "domains"
468
468
  },
469
+ {
470
+ "name": "domains_claimFreeDomainV1",
471
+ "description": "Claim a free domain available on your account and register it.\n\nUnlike purchasing a domain, this consumes a free domain you already have,\nso no payment method is required.\n\nA successful response means the domain is registered. If registration fails, login to\n[hPanel](https://hpanel.hostinger.com/) and check domain registration status.\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before claiming.\n\nRequests which cannot be fulfilled are rejected with an error code in the response body,\nfor example `2037` when no free domain is available.\n\nUse this endpoint to register a domain using a free domain from your account.",
472
+ "method": "POST",
473
+ "path": "/api/domains/v1/portfolio/claim",
474
+ "inputSchema": {
475
+ "type": "object",
476
+ "properties": {
477
+ "domain": {
478
+ "type": "string",
479
+ "description": "Domain name"
480
+ },
481
+ "domain_contacts": {
482
+ "type": "object",
483
+ "description": "Domain contact information",
484
+ "properties": {
485
+ "owner_id": {
486
+ "type": "integer",
487
+ "description": "Owner contact WHOIS record ID"
488
+ },
489
+ "admin_id": {
490
+ "type": "integer",
491
+ "description": "Administrative contact WHOIS record ID"
492
+ },
493
+ "billing_id": {
494
+ "type": "integer",
495
+ "description": "Billing contact WHOIS record ID"
496
+ },
497
+ "tech_id": {
498
+ "type": "integer",
499
+ "description": "Technical contact WHOIS record ID"
500
+ }
501
+ }
502
+ },
503
+ "additional_details": {
504
+ "type": "object",
505
+ "description": "Additional registration data, possible values depends on TLD",
506
+ "properties": {}
507
+ }
508
+ },
509
+ "required": [
510
+ "domain"
511
+ ]
512
+ },
513
+ "security": [
514
+ {
515
+ "apiToken": []
516
+ }
517
+ ],
518
+ "group": "domains"
519
+ },
469
520
  {
470
521
  "name": "domains_enableDomainLockV1",
471
522
  "description": "Enable domain lock for the domain.\n\nWhen domain lock is enabled,\nthe domain cannot be transferred to another registrar without first disabling the lock.\n\nUse this endpoint to secure domains against unauthorized transfers.",
@@ -737,6 +788,61 @@ export default [
737
788
  ],
738
789
  "group": "domains"
739
790
  },
791
+ {
792
+ "name": "domains_claimFreeDomainTransferV1",
793
+ "description": "Claim a free domain transfer available on your account and start the transfer.\n\nUnlike purchasing a transfer, this consumes a free domain transfer you already have,\nso no payment method is required.\n\nBefore making request, unlock the domain at the current registrar and get its authorization\ncode. The transfer is validated first, so domains which cannot be transferred are rejected\nbefore the free domain transfer is consumed.\n\nA successful response means the transfer has been started. Completion depends on the current\nregistrar and can be followed with the [transfer list endpoint](#tag/domains-transfer).\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nRequests which cannot be fulfilled are rejected with an error code in the response body.\n\nUse this endpoint to transfer a domain using a free domain transfer from your account.",
794
+ "method": "POST",
795
+ "path": "/api/domains/v1/transfers/claim",
796
+ "inputSchema": {
797
+ "type": "object",
798
+ "properties": {
799
+ "domain": {
800
+ "type": "string",
801
+ "description": "Domain name"
802
+ },
803
+ "auth_code": {
804
+ "type": "string",
805
+ "description": "Authorization code from the current registrar"
806
+ },
807
+ "domain_contacts": {
808
+ "type": "object",
809
+ "description": "Domain contact information",
810
+ "properties": {
811
+ "owner_id": {
812
+ "type": "integer",
813
+ "description": "Owner contact WHOIS record ID"
814
+ },
815
+ "admin_id": {
816
+ "type": "integer",
817
+ "description": "Administrative contact WHOIS record ID"
818
+ },
819
+ "billing_id": {
820
+ "type": "integer",
821
+ "description": "Billing contact WHOIS record ID"
822
+ },
823
+ "tech_id": {
824
+ "type": "integer",
825
+ "description": "Technical contact WHOIS record ID"
826
+ }
827
+ }
828
+ },
829
+ "should_keep_ns": {
830
+ "type": "boolean",
831
+ "description": "Keep the existing nameservers of the domain"
832
+ }
833
+ },
834
+ "required": [
835
+ "domain",
836
+ "auth_code"
837
+ ]
838
+ },
839
+ "security": [
840
+ {
841
+ "apiToken": []
842
+ }
843
+ ],
844
+ "group": "domains"
845
+ },
740
846
  {
741
847
  "name": "domains_getTransferV1",
742
848
  "description": "Retrieve the transfer for a specified domain.\n\nUse this endpoint to track an incoming or outgoing registrar transfer and its status.",
@@ -480,6 +480,57 @@ const tools: OpenApiTool[] = [
480
480
  ],
481
481
  "group": "domains"
482
482
  },
483
+ {
484
+ "name": "domains_claimFreeDomainV1",
485
+ "description": "Claim a free domain available on your account and register it.\n\nUnlike purchasing a domain, this consumes a free domain you already have,\nso no payment method is required.\n\nA successful response means the domain is registered. If registration fails, login to\n[hPanel](https://hpanel.hostinger.com/) and check domain registration status.\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nSome TLDs require `additional_details` to be provided and these will be validated before claiming.\n\nRequests which cannot be fulfilled are rejected with an error code in the response body,\nfor example `2037` when no free domain is available.\n\nUse this endpoint to register a domain using a free domain from your account.",
486
+ "method": "POST",
487
+ "path": "/api/domains/v1/portfolio/claim",
488
+ "inputSchema": {
489
+ "type": "object",
490
+ "properties": {
491
+ "domain": {
492
+ "type": "string",
493
+ "description": "Domain name"
494
+ },
495
+ "domain_contacts": {
496
+ "type": "object",
497
+ "description": "Domain contact information",
498
+ "properties": {
499
+ "owner_id": {
500
+ "type": "integer",
501
+ "description": "Owner contact WHOIS record ID"
502
+ },
503
+ "admin_id": {
504
+ "type": "integer",
505
+ "description": "Administrative contact WHOIS record ID"
506
+ },
507
+ "billing_id": {
508
+ "type": "integer",
509
+ "description": "Billing contact WHOIS record ID"
510
+ },
511
+ "tech_id": {
512
+ "type": "integer",
513
+ "description": "Technical contact WHOIS record ID"
514
+ }
515
+ }
516
+ },
517
+ "additional_details": {
518
+ "type": "object",
519
+ "description": "Additional registration data, possible values depends on TLD",
520
+ "properties": {}
521
+ }
522
+ },
523
+ "required": [
524
+ "domain"
525
+ ]
526
+ },
527
+ "security": [
528
+ {
529
+ "apiToken": []
530
+ }
531
+ ],
532
+ "group": "domains"
533
+ },
483
534
  {
484
535
  "name": "domains_enableDomainLockV1",
485
536
  "description": "Enable domain lock for the domain.\n\nWhen domain lock is enabled,\nthe domain cannot be transferred to another registrar without first disabling the lock.\n\nUse this endpoint to secure domains against unauthorized transfers.",
@@ -751,6 +802,61 @@ const tools: OpenApiTool[] = [
751
802
  ],
752
803
  "group": "domains"
753
804
  },
805
+ {
806
+ "name": "domains_claimFreeDomainTransferV1",
807
+ "description": "Claim a free domain transfer available on your account and start the transfer.\n\nUnlike purchasing a transfer, this consumes a free domain transfer you already have,\nso no payment method is required.\n\nBefore making request, unlock the domain at the current registrar and get its authorization\ncode. The transfer is validated first, so domains which cannot be transferred are rejected\nbefore the free domain transfer is consumed.\n\nA successful response means the transfer has been started. Completion depends on the current\nregistrar and can be followed with the [transfer list endpoint](#tag/domains-transfer).\n\nIf no WHOIS information is provided, default contact information for that TLD will be used.\nBefore making request, ensure WHOIS information for desired TLD exists in your account.\n\nRequests which cannot be fulfilled are rejected with an error code in the response body.\n\nUse this endpoint to transfer a domain using a free domain transfer from your account.",
808
+ "method": "POST",
809
+ "path": "/api/domains/v1/transfers/claim",
810
+ "inputSchema": {
811
+ "type": "object",
812
+ "properties": {
813
+ "domain": {
814
+ "type": "string",
815
+ "description": "Domain name"
816
+ },
817
+ "auth_code": {
818
+ "type": "string",
819
+ "description": "Authorization code from the current registrar"
820
+ },
821
+ "domain_contacts": {
822
+ "type": "object",
823
+ "description": "Domain contact information",
824
+ "properties": {
825
+ "owner_id": {
826
+ "type": "integer",
827
+ "description": "Owner contact WHOIS record ID"
828
+ },
829
+ "admin_id": {
830
+ "type": "integer",
831
+ "description": "Administrative contact WHOIS record ID"
832
+ },
833
+ "billing_id": {
834
+ "type": "integer",
835
+ "description": "Billing contact WHOIS record ID"
836
+ },
837
+ "tech_id": {
838
+ "type": "integer",
839
+ "description": "Technical contact WHOIS record ID"
840
+ }
841
+ }
842
+ },
843
+ "should_keep_ns": {
844
+ "type": "boolean",
845
+ "description": "Keep the existing nameservers of the domain"
846
+ }
847
+ },
848
+ "required": [
849
+ "domain",
850
+ "auth_code"
851
+ ]
852
+ },
853
+ "security": [
854
+ {
855
+ "apiToken": []
856
+ }
857
+ ],
858
+ "group": "domains"
859
+ },
754
860
  {
755
861
  "name": "domains_getTransferV1",
756
862
  "description": "Retrieve the transfer for a specified domain.\n\nUse this endpoint to track an incoming or outgoing registrar transfer and its status.",