Every API here is available over the APIs.io API and to AI agents over MCP.
{"openapi":"3.1.0","info":{"title":"Register.gy API","version":"1.5.0","description":"Manage the website records of your .gy domains and connect sites built with AI builders. Create an API key in the Register.gy Client Area. Email (MX) and nameserver records are never changed through this API; registry changes are applied by the Register.gy team."},"servers":[{"url":"https://register.gy/wp-json/rgy/v1"}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"rgy_live_… API key from the Client Area, or rgy_at_… OAuth access token"},"oauth2":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://register.gy/oauth/authorize","tokenUrl":"https://register.gy/oauth/token","refreshUrl":"https://register.gy/oauth/token","scopes":{"domains:read":"See your .gy domains and their DNS records","websites:write":"Connect your websites (change website records only, with 7-day undo)"}}}}}},"security":[{"bearer":[]},{"oauth2":["domains:read","websites:write"]}],"paths":{"/availability":{"get":{"summary":"Is a .gy domain available?","security":[],"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","example":"mybusiness.gy"}},{"name":"lang","in":"query","required":false,"description":"Language of the register link: en, es, pt, nl, fr, zh, hi, ru or ar","schema":{"type":"string","example":"es"}}],"responses":{"200":{"description":"Availability, price, register link"}}}},"/status":{"get":{"summary":"Are .gy registrations open or paused right now?","security":[],"responses":{"200":{"description":"registrations: open | paused, with a message and how to be notified"}}}},"/notify":{"post":{"summary":"While registrations are paused: email me when they reopen","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"domain":{"type":"string"},"name":{"type":"string"}},"required":["email"]}}}},"responses":{"200":{"description":"Added"}}}},"/health":{"get":{"summary":"Service status for uptime monitors","security":[],"responses":{"200":{"description":"All parts working"},"503":{"description":"A part has a problem"}}}},"/me":{"get":{"summary":"Who this key belongs to","responses":{"200":{"description":"Account summary"},"401":{"description":"Missing or invalid API key"},"404":{"description":"Not on this account"}}}},"/domains":{"get":{"summary":"Your .gy domains","responses":{"200":{"description":"Domain list"},"401":{"description":"Missing or invalid API key"},"404":{"description":"Not on this account"}}}},"/domains/{domain}":{"get":{"summary":"One domain","parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string","example":"mybusiness.gy"}}],"responses":{"200":{"description":"Domain"},"401":{"description":"Missing or invalid API key"},"404":{"description":"Not on this account"}}}},"/domains/{domain}/records":{"get":{"summary":"Current DNS records","parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string","example":"mybusiness.gy"}}],"responses":{"200":{"description":"Records"},"401":{"description":"Missing or invalid API key"},"404":{"description":"Not on this account"}}}},"/domains/{domain}/connect/preview":{"post":{"summary":"Preview connecting a website (changes nothing)","parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string","example":"mybusiness.gy"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["A","AAAA","CNAME","TXT","ALIAS"]},"name":{"type":"string","example":"@"},"value":{"type":"string"}},"required":["type","value"]}},"text":{"type":"string","description":"Or: the records as your builder shows them (table or list)."}}}}}},"responses":{"200":{"description":"What would change"},"401":{"description":"Missing or invalid API key"},"404":{"description":"Not on this account"}}}},"/domains/{domain}/connect/apply":{"post":{"summary":"Connect a website (after the user confirms the preview)","parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string","example":"mybusiness.gy"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["A","AAAA","CNAME","TXT","ALIAS"]},"name":{"type":"string","example":"@"},"value":{"type":"string"}},"required":["type","value"]}},"text":{"type":"string","description":"Or: the records as your builder shows them (table or list)."}}}}}},"responses":{"200":{"description":"Applied; undo available 7 days"},"401":{"description":"Missing or invalid API key"},"404":{"description":"Not on this account"}}}},"/domains/{domain}/connect/undo":{"post":{"summary":"Undo the last connect","parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string","example":"mybusiness.gy"}}],"responses":{"200":{"description":"Undone"},"401":{"description":"Missing or invalid API key"},"404":{"description":"Not on this account"}}}},"/domains/{domain}/live":{"get":{"summary":"Is the site live (DNS + https)?","parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string","example":"mybusiness.gy"}}],"responses":{"200":{"description":"Checks"},"401":{"description":"Missing or invalid API key"},"404":{"description":"Not on this account"}}}},"/mcp":{"post":{"summary":"MCP endpoint for AI assistants (JSON-RPC 2.0, Streamable HTTP)","responses":{"200":{"description":"JSON-RPC response"}}}}}}