URL Parse API

URL Parse API

Easy to parse a URL into its components.

23 followers

Query, validate and parse URLs into its components via the URL Parse API. Accessible using GET and POST, returns JSON response. Free of charge. Maintained by ex-Google engineer Fili.
URL Parse API gallery image
Free
Launch tags:Web AppAPIDeveloper Tools
Launch Team
Flowstep
Flowstep
Generate real UI in seconds
Promoted

What do you think? …

Pablo Gracia
I think you're just reinventing the wheel... https://developer.mozilla.org/en...
Fili
@itspablo Appreciate your feedback! I understand why it may seem like that, however I don't use this method/regex, but rather a custom-build regex and also support IDNA and TLD detection (including 2nd, 3rd and 4th level TLD detection where needed) as well as subdomain detection. Something the link you provided does not. Lastly, I provide a programmatic approach using a REST API without the need for a browser (less resource dependent). Hope you like it though :)
Fili
@itspablo Just to follow up on this, compare the output at https://api.urlparse.com/v1/quer... with "new URL('https://1.2.3.example.co.uk/')" in the browser console. Note there is one more field that may be of interest: is_valid, which checks if a URL is valid against all TLDs. Hope this clarifies :)
Fili
The URL Parse API is under constant development and improvements will be added over time. Do contact me if you run into any issues.
Fili
FYI release notes will be added to the website upon bug fixes and important changes.
sathithya yogi
wow man nice, surely i will try this and how to connect with you ?
Fili
@sathithya_yogi Thank you! Best way to connect with me is on Twitter (DM), Linkedin or via my website https://fili.com