Medium API
Medium API helps you to quickly extract data from Medium's Website ().
You can gather data related to users, publications, articles (including its textual content), latest posts & top writers within a topic/niche, etc…
- Homepage
- https://api.apis.guru/v2/specs/medium.com/1.0.json
- Provider
- medium.com
- OpenAPI version
- 3.0.2
- Spec (JSON)
- https://api.apis.guru/v2/specs/medium.com/1.0/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/medium.com/1.0/openapi.yaml
Tools (34)
Extracted live via the executor SDK.
-
article.getArticleArticleIdReturns the article related information such as Title, Subtitle, Tags, Topics (assigned by Medium), Publication, Published date and time, Clap Count, Voter Count, Word Count, Reading Time, Language, etc…
-
article.getArticleArticleIdContentReturns the content of an article/story, for the corresponding
article_id -
article.getArticleArticleIdFansReturns a list of
user_idsof the people who clapped on the article (a.k.avoters). -
article.getArticleArticleIdMarkdownReturns the markdown of an article/story from Medium, for the corresponding
article_id -
article.getArticleArticleIdRelatedReturns a list of
article_idsof the related posts. (Length = 5)Note: If the given article is self-published, related posts will belong to the same author, else related posts will belong to the publication in which the article is published.
-
article.getArticleArticleIdResponsesReturns a list of responses (
response_ids, same asarticle_ids) for a given article (article_id) Note: To see the content of the response, use the "Get Article's Content" endpoint -
list.getListListIdReturns the list-related information such as id, name, author, description, thumbnail image url, creation datetime, last article inserted datetime, number of articles in the list, claps, voters, and comments/responses.
-
list.getListListIdArticlesReturns an array of
articles_idspresent in the given Medium List. -
list.getListListIdResponsesReturns an array of
response_idsof the comments (same asarticle_ids) on the given Medium List. -
misc.getLatestpostsTopicSlugReturns a list of latest posts (
article_ids) for a topic/niche (as classified by the Medium platform). Example of a topic/niche can be:- blockchain
- relationships
- mental-health, etc …
These are known as
topic_slugs. At any given moment, this endpoint will return a list of 25 articles (article_ids). -
misc.getRelatedTagsTagReturns a list of
related_tagsfor the giventag. -
misc.getTopfeedsTagModeReturns a list of
article_ids(length: 25) for the giventagandmode. -
misc.getTopWriterTopicSlugReturns a list of top writers (
user_ids) within a particular topic/niche (topic_slug). e.g.- blockchain
- relationships
- artificial-intelligence, etc ...
Note: You can use optional
countquery parameter to limit the number of results. The maximum number of top writers within a topic/niche will be 250. -
publication.getPublicationIdForPublicationSlugReturns the unique
publication_idfor the givenpublication_slug.Note: You can find the
publication_slugfrom the publication's homepage URL.- medium.com/publication_slug
-
publication.getPublicationPublicationIdReturns the publication related information such as Publication name, Tagline, Description, Tags, Followers Count, Twitter username, Instagram username, Facebook Page name, etc …
Note: If you don't know the
publication_id, you can get it from any article published by it. Use endpoint "/article/{article_id}" to retrieve thepublication_id. -
publication.getPublicationPublicationIdArticlesReturns the list of
articles_ids, of the latest 25 articles, posted in that publication. -
publication.getPublicationPublicationIdNewsletterReturns the newsletter related information such as id, name, description, slug, creator_id, subscribers, image_url, etc …
Note: If you don't know the
publication_id, you can get it from any article published by it. Use endpoint "/article/{article_id}" to retrieve thepublication_id. -
search.getSearchArticlesQueryQueryReturns the list of
articles_idsfor the given search query results. (Max Length = 1000) -
search.getSearchListsQueryQueryReturns an array of
list_idsfor the given search query results. (Max Length = 1000) -
search.getSearchPublicationsQueryQueryReturns the list of
publication_idsfor the given search query results. (Max Length = 1000) -
search.getSearchTagsQueryQueryReturns a list of
tagsfor the given search query results. (Max Length = 1000) -
search.getSearchUsersQueryQueryReturns a list of
user_idsfor the given search query results. (Max Length = 1000) -
user.getUserIdForUsernameReturns the unique
user_idfor the givenusername.Note: You can find the
usernamefrom the user's/author's profile page URL.- username.medium.com
- medium.com/@username
-
user.getUserUserIdReturns user related information like Full name, Bio, Followers count, Following count, Twitter username, Profile-image URL, User ID, etc...
It takes
user_idas the path parameter.Note: If you don't know the
user_id, then you can get it from the endpoint
'/user/id_for/{username}'. -
user.getUserUserIdArticlesReturns the list of articles (
article_ids) written by the user. -
user.getUserUserIdFollowersReturns the list of
user_idsof the user's followers.Note: The length of this followers' list might be different from what you get in the "Get User Info" Endpoint. It's because, this list doesn't include Medium Users who left the platform. If you really need the exact followers' count, use this endpoint to get the followers' list and take its length as the exact followers' count
-
user.getUserUserIdFollowingReturns the list of
user_idsof the user's followings.Note: Currently, this list does not contain the
publication_idsof the publications that the user is following. -
user.getUserUserIdInterestsReturns a list of tags that the given user follows.
-
user.getUserUserIdListsReturns an array of
list_idscreated by the user.Note: You can check whether the use has created lists or not beforehand. Check the
has_listattribute in the "Article Info" endpoint. -
user.getUserUserIdPublicationsReturns a list of
publication_idswhere the user is the editor and/or creator. -
user.getUserUserIdTopArticlesReturns a list of
article_idsof the top 10 articles on the user's profile, for a givenuser_id. -
welcome.getTest Endpoint Returns the information about the Medium API
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools