{"type_of":"article","id":94179,"title":"The state of dev.to v0 api","description":"\n\nTo prevente the abuse of web scraper on dev.to i want to share what i learn abo...","readable_publish_date":"Mar 25 '19","slug":"the-state-of-devto-v0-api-1o2","path":"/alfredosalzillo/the-state-of-devto-v0-api-1o2","url":"https://dev.to/alfredosalzillo/the-state-of-devto-v0-api-1o2","comments_count":12,"public_reactions_count":78,"collection_id":null,"published_timestamp":"2019-03-25T16:25:25Z","language":null,"subforem_id":null,"positive_reactions_count":78,"cover_image":null,"social_image":"https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhl50x7si8yv2gk3gcu7p.png","canonical_url":"https://dev.to/alfredosalzillo/the-state-of-devto-v0-api-1o2","created_at":"2019-03-25T16:25:26Z","edited_at":null,"crossposted_at":null,"published_at":"2019-03-25T16:25:25Z","last_comment_at":"2023-01-20T13:44:07Z","reading_time_minutes":1,"tag_list":"api, devto, discuss, rest","tags":["api","devto","discuss","rest"],"body_html":"\u003cp\u003eTo prevente the abuse of web scraper on dev.to i want to share what i learn about the dev.to v0 api.\u003c/p\u003e\n\n\u003ch2\u003e\n  \u003ca name=\"articles\" href=\"#articles\"\u003e\n  \u003c/a\u003e\n  Articles\n\u003c/h2\u003e\n\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https://dev.to/api/articles\"\u003ehttps://dev.to/api/articles\u003c/a\u003e get a list of the latest 30 articles with tags career, discuss and productivity (it seems to be the default list of tags)\u003c/li\u003e\n\u003cli\u003e\n\u003ca href=\"https://dev.to/api/articles?tag=react\"\u003ehttps://dev.to/api/articles?tag=react\u003c/a\u003e get the latest 30 articles tagged with react\u003c/li\u003e\n\u003cli\u003e\n\u003ca href=\"https://dev.to/api/articles?page=23\u0026amp;tag=react\"\u003ehttps://dev.to/api/articles?page=23\u0026amp;tag=react\u003c/a\u003e get the 30 articles at page 23 tagged with react\u003c/li\u003e\n\u003cli\u003e\n\u003ca href=\"https://dev.to/api/articles?username=alfredosalzillo\"\u003ehttps://dev.to/api/articles?username=alfredosalzillo\u003c/a\u003e get the latest 30 articles of the user with username alfredosalzillo\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003e\n  \u003ca name=\"users\" href=\"#users\"\u003e\n  \u003c/a\u003e\n  Users\n\u003c/h2\u003e\n\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https://dev.to/api/users/by_username?url=alfredosalzillo\"\u003ehttps://dev.to/api/users/by_username?url=alfredosalzillo\u003c/a\u003e get the info of the user with username alfredosalzillo\u003c/li\u003e\n\u003cli\u003e\n\u003ca href=\"https://dev.to/api/users/149157\"\u003ehttps://dev.to/api/users/149157\u003c/a\u003e get the info of the user with id 149157\u003c/li\u003e\n\u003cli\u003e\n\u003ca href=\"https://dev.to/api/users/?state=follow_suggestions\"\u003ehttps://dev.to/api/users/?state=follow_suggestions\u003c/a\u003e get a list of follow suggestions\u003c/li\u003e\n\u003cli\u003e\n\u003ca href=\"https://dev.to/api/users/?state=sidebar_suggestions\u0026amp;tag=react\"\u003ehttps://dev.to/api/users/?state=sidebar_suggestions\u0026amp;tag=react\u003c/a\u003e i don't now what this really do\u003c/li\u003e\n\u003cli\u003e\n\u003ca href=\"https://dev.to/api/users/by_username\"\u003ehttps://dev.to/api/users/by_username\u003c/a\u003e get an user with a null username, i think this is a bug.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch1\u003e\n  \u003ca name=\"tags\" href=\"#tags\"\u003e\n  \u003c/a\u003e\n  Tags\n\u003c/h1\u003e\n\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https://dev.to/api/tags\"\u003ehttps://dev.to/api/tags\u003c/a\u003e get the list of the latest 10 tags\u003c/li\u003e\n\u003cli\u003e\n\u003ca href=\"https://dev.to/api/tags?page=2\"\u003ehttps://dev.to/api/tags?page=2\u003c/a\u003e get the list of the 10 tags at page 2\u003c/li\u003e\n\u003c/ul\u003e\n\n","body_markdown":"To prevente the abuse of web scraper on dev.to i want to share what i learn about the dev.to v0 api.\n\n## Articles\n\n* https://dev.to/api/articles get a list of the latest 30 articles with tags career, discuss and productivity (it seems to be the default list of tags)\n* https://dev.to/api/articles?tag=react get the latest 30 articles tagged with react\n* https://dev.to/api/articles?page=23\u0026tag=react get the 30 articles at page 23 tagged with react\n* https://dev.to/api/articles?username=alfredosalzillo get the latest 30 articles of the user with username alfredosalzillo\n\n## Users\n\n* https://dev.to/api/users/by_username?url=alfredosalzillo get the info of the user with username alfredosalzillo\n* https://dev.to/api/users/149157 get the info of the user with id 149157\n* https://dev.to/api/users/?state=follow_suggestions get a list of follow suggestions\n* https://dev.to/api/users/?state=sidebar_suggestions\u0026tag=react i don't now what this really do\n* https://dev.to/api/users/by_username get an user with a null username, i think this is a bug.\n\n# Tags\n\n* https://dev.to/api/tags get the list of the latest 10 tags\n* https://dev.to/api/tags?page=2 get the list of the 10 tags at page 2\n","user":{"name":"Alfredo Salzillo","username":"alfredosalzillo","twitter_username":"noctislupo93","github_username":"alfredosalzillo","user_id":113263,"website_url":"https://alfredosalzillo.me/","profile_image":"https://media2.dev.to/dynamic/image/width=640,height=640,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F113263%2F4b0452f3-4a80-4cf9-a053-cf24f283472e.jpg","profile_image_90":"https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F113263%2F4b0452f3-4a80-4cf9-a053-cf24f283472e.jpg"},"flare_tag":{"name":"discuss","bg_color_hex":"#71EA8B","text_color_hex":"#FFFFFF"}}