{"category":"web","endpoint":"https://setget.net/v1/tools/url-parse","examples":[{"input":{"url":"https://user:pw@Example.com:8443/a/b%20c?x=1&x=2&y=#top"},"output":{"ascii_host":"example.com","default_port":443,"fragment":"top","host":"example.com","host_type":"domain","is_idn":false,"origin":"https://example.com:8443","params":{"x":["1","2"],"y":""},"password":"pw","path":"/a/b%20c","port":8443,"query":"x=1&x=2&y=","scheme":"https","segments":["a","b c"],"unicode_host":"example.com","username":"user"}},{"input":{"url":"http://b\u00fccher.example/"},"output":{"ascii_host":"xn--bcher-kva.example","default_port":80,"fragment":null,"host":"b\u00fccher.example","host_type":"domain","is_idn":true,"origin":"http://xn--bcher-kva.example","params":{},"password":null,"path":"/","port":null,"query":null,"scheme":"http","segments":[],"unicode_host":"b\u00fccher.example","username":null},"title":"An internationalised domain name"}],"input_schema":{"additionalProperties":false,"properties":{"url":{"description":"The URL to take apart.","examples":["https://user:pw@Example.com:8443/a/b%20c?x=1&x=2&y=#top"],"type":"string"}},"required":["url"],"type":"object"},"keywords":["url","parse","query string","hostname","port","uri","split url","punycode","origin"],"related":["url-normalize","url-join","url-encode","query-string-to-json"],"slug":"url-parse","summary":"Split a URL into scheme, login, host, port, path, query parameters and fragment.","tier":"inline","title":"URL parser","url":"https://setget.net/tools/url-parse"}
