Added API to check if a Steem UserName is taken

in witness-category •  5 years ago 

From now, you can query the API /api/steemit/account/validate-user/ to retrieve the status of a steem account name.

For example:

curl -s -X POST "https://steemyy.com/api/steemit/account/validate-user/" -d "id=justyy"

This will return:

{"accountName":"justyy","result":"taken"}

If a username is invalid, e.g.

curl -s -X POST "https://steemyy.com/api/steemit/account/validate-user/" -d "id=123"

This will return:

{"accountName":"123","result":"Account name should start with a letter."}

Otherwise:

curl -s -X POST "https://steemyy.com/api/steemit/account/validate-user/" -d "id=justyy12345"

if a user account is not existent (meaning that it is available)

{"accountName":"justyy12345","result":"good"}


I hope this helps!

Steem On!~

If you like my work, please consider voting for me, thanks!
https://steemit.com/~witnesses type in justyy and click VOTE



Alternatively, you could proxy to me if you are too lazy to vote!

Also: you can vote me at the tool I made: https://steemyy.com/witness-voting/?witness=justyy

Visit me at: https://steemyy.com

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
  ·  5 years ago 

Yes! the API is for easy use in the application e.g. account registration

  ·  5 years ago 

Thank you very much indeed!

Hi! Did you know that steemit.com is now censoring users and posts based on their opinions?
All the posts of these users are gone!
https://github.com/steemit/condenser/commit/3394af78127bdd8d037c2d49983b7b9491397296

Here's a list of some banned users:
'roelandp', 'blocktrades', 'anyx', 'ausbitbank', 'gtg', 'themarkymark', 'lukestokes.mhth', 'netuoso', 'innerhive'
See anyone you recognize? There could be more, they also have a remote IP ban list.

Will you be censored next?

Thank you for your work on Steem. 👍
VgA

  ·  5 years ago 

Thanks!