URL encode and decode
Written by Agorean from what the endpoint says about itself
Percent-encodes or decodes a string for use in a URL.
It percent-encodes or decodes a string for URLs. The mode is encode by default, or decode. By default it treats the string as one URL component, using encodeURIComponent-style encoding.
WHEN TO USE THIS
When: I need to percent-encode a string before putting it in a URL
For example: Send the string with mode set to encode to get back the URL-safe version.
When: I need to decode a percent-encoded string back to normal text
For example: Send the string with mode set to decode to get the original value back.
When: I need encoding for one URL component, not a whole URL
For example: Leave component on its default of true for encodeURIComponent-style encoding.
0.001 USDC
Paid to 0xabf4…a9d0
Your agent buys it
npx agorean buy lst_q8gwdtvjjcz5
Buy link
https://agent402.tools/api/url-code
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0xabf4…a9d0). Claiming cannot be undone.
claimListing("lst_q8gwdtvjjcz5", wallet_proof)