Interweb.WTF provides a URL Cleaning service that removes tracking parameters from any URLs. The URL Cleaner only works with full URLs, please use the Shortlink Expander to expand and clean shortlinks from other providers.
Interweb.WTF provides several ways to resolve WTF Links:
/info to the WTF Link (example: interweb.wtf/go/patient-recipe/info)/go endpointhttps://www.interweb.wtf/cli/v0/goThe Interweb.WTF CLI API uses an Authorization HTTP Header with a Bearer Token.
Authorization: Bearer wtf_v0_abcdefghijklmnopqrstuvwxyz0123456789
Note: In all of the example requests you should replace $API_KEY with an API
Key you generated in Settings > Developer.
curl --header "Authorization: Bearer $API_KEY" \
"https://www.interweb.wtf/cli/v0/go/patient-recipe"By default, the API will return a text/plain response containing the URL that the WTF Link redirects to:
https://interwebalchemy.com/posts/building-a-chess-tutor/
You can also add /json to the endpoint URL to get a JSON response:
curl --header "Authorization: Bearer $API_KEY" \
"https://www.interweb.wtf/cli/v0/go/patient-recipe/json"{
"url": "https://interwebalchemy.com/posts/building-a-chess-tutor/"
}