{
  "name": "Domain Availability Check",
  "nodes": [
    {
      "parameters": {
        "url": "https://domainr.p.rapidapi.com/v2/status",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "domain",
              "value": "={{ $json.query }}"
            }
          ]
        },
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "x-rapidapi-host",
              "value": "domainr.p.rapidapi.com"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        160,
        464
      ],
      "id": "6bae6b15-cf6c-4b11-9285-6bbc0fc66081",
      "name": "Check Domain Availability",
      "credentials": {
        "httpHeaderAuth": {
          "id": "VgZeUJP6cHM6FmSs",
          "name": "RapidAPI"
        }
      }
    },
    {
      "parameters": {
        "inputSource": "passthrough"
      },
      "id": "b1f32f9b-5378-4d5e-baf9-7df9f4c87d55",
      "typeVersion": 1.1,
      "name": "Start",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -64,
        464
      ]
    },
    {
      "parameters": {
        "content": "* Get a free account and API key at [rapidapi](https://rapidapi.com/) \n* Create an app & api key\n* Settings for the Header Auth:\n* **Name:** x-rapidapi-key\n* **Value:** <your api key>"
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        96,
        672
      ],
      "id": "a07d236f-dcf9-4e27-86a5-ad3a7bc213e7",
      "name": "Sticky Note"
    }
  ],
  "pinData": {},
  "connections": {
    "Start": {
      "main": [
        [
          {
            "node": "Check Domain Availability",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "f7163ff2-dc11-4ea8-ba04-0f4b32b8c7a7",
  "meta": {
    "instanceId": "1746813392f03a836ae1b60ce6fb98a512b5d5498aca4a9d4df49ccc7e65726f"
  },
  "id": "p3ieNmIl1DEgawfb",
  "tags": []
}