Medium Scraper API

This API will allow you to extract the content of any article on Medium using its Article ID. Also, be able to get top articles and top writers.

About the API:

Scrape the content of any articles posted on Medium with this API.

 

What this API receives and what your API provides (input/output)?

This API will receive the article ID and you will be able to extract the information contained in it. Get the text, markdown, and article responses as well. 

 

What are the most common uses cases of this API?

 

This API is ideal for those who need to extract information from articles on the web and need an API to get a text from Medium articles. 

 

Are there any limitations to your plans?

Besides API call limitations per month:

Free Plan: 30 requests per minute. 

 

API Documentation

Endpoints


This endpoint returns 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, etc…



                                                                            
GET https://zylalabs.com/api/808/medium+scraper+api/561/get+article+info
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"id":"3bc2644d4507","tags":["chatgpt","content-marketing","social-media","content-strategy"],"claps":5067,"last_modified_at":"2022-12-13 16:53:26","published_at":"2022-12-12 13:00:52","url":"https:\/\/markwschaefer.medium.com\/20-entertaining-uses-of-chatgpt-you-never-knew-were-possible-3bc2644d4507","image_url":"https:\/\/miro.medium.com\/1*IPZF1hcDWwpPqOz2vL7NxQ.png","lang":"en","publication_id":"*Self-Published*","word_count":2895,"title":"20 Entertaining Uses of ChatGPT You Never Knew Were Possible","reading_time":11.974528301887,"responses_count":85,"voters":806,"topics":["artificial-intelligence","technology"],"author":"3340d9dd0981","subtitle":"Our RISE community has been on fire, exploring the breathtaking possibilities of ChatGPT. The uses of ChatGPT are simply endless and…"}
                                                                                                                                                                                                                    
                                                                                                    

Get Article Info - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/808/medium+scraper+api/561/get+article+info&article_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Returns the content of an article/story from Medium, for the corresponding article_id



                                                                            
GET https://zylalabs.com/api/808/medium+scraper+api/562/get+article+content
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"content":"20 Entertaining Uses of ChatGPT You Never Knew Were Possible\n\nUses of ChatGPT image courtesy Frank Prendergast\n\nOur RISE community has been on fire, exploring the breathtaking possibilities of ChatGPT. The uses of ChatGPT are simply endless and intoxicating\n\nIt’s still early days. Companies are trying to figure out the legal and ethical implications of a content world suddenly turned on its head by artificial intelligence. And yet … applying powerful AI to everyday tasks is awesome.\n\nSo I challenged my RISE community friends … let’s have some fun and come up with some non-obvious uses and share them with the world.\n\nHere we go.\n\n1. Write a Twitter thread\n\nJim MacLeod asked ChatGPT to create a Twitter thread for him on the subject of design.\n\n\n\n2. Write a novel\n\nGiuseppe Fratoni wants to write a novel.\n\n\"Wow, this thing is unbelievable! I’m speechless. I literally asked the first thing I could think of, combining three of my passions: writing, mystery novels, and jazz.\n\n\"The request was: \"Develop a plot for a mystery novel where a disillusioned homicide detective hunts a clever serial killer who preys on musicians who perform the jazz standard Autumn Leaves\".\n\n\"Here’s what I got:\n\nDetective James Thompson is a seasoned veteran of the Homicide department, but lately he’s been feeling burnt out and disillusioned. His latest case, the murder of a young jazz pianist who was found brutally killed in his home, only serves to deepen his sense of despair … (much more provided)\n\n3. Guest speaker Q&A prompts\n\nRichard Bliss suggests:\n\nYou have a guest speaker coming to your event and you are going to want to ask questions from the audience…have ChatGPT pre-generate some of the questions for you. The moderator can say, \"And here’s a question for you from our AI?\"\n\nFor example, the conference is about water scarcity in the US West. The speaker is an expert on water management. Here was my query to the AI…\n\nWhat questions should I ask an expert on desalination and its impact?\n\nChatGPT responded with…\n\nHow is desalination currently being used around the world, and in what types of locations is it most effective?\n\nWhat are the potential advantages and disadvantages of using desalination to provide fresh water?\n\nWhat are some of the key challenges and limitations of desalination technology, and how are they being addressed?\n\n4. Creating games\n\nRichard is also a well-known expert in board games. He suggests that ChatGPT could be used to plot out and design new games. Note: Some people have started getting help solving crossword puzzle clues.\n\n\n\n5. Dating help\n\nTanya Thompson thinks it could help with dating. ChatGPT says:\n\nIf you’re looking to add a little flirtation to your first message on a dating app, here are a few ideas to get you started:\n\nYou caught my eye from across the screen. I couldn’t resist saying hi and seeing if there’s a spark between us.\n\nYour profile photo is stunning. I can’t stop thinking about your [Feature] and how much I’d love to get to know you better.\n\nI’m not usually one to make the first move, but I just had to message you. You’re incredibly [Attractive Quality] and I can’t wait to chat with you.\"\n\nHi there! I saw your profile and I’m not going to lie, I’m a little intimidated. You’re so [Attractive Quality] and I’m feeling a little starstruck. (many more examples provided)\n\n5. Dealing with loneliness and anxiety\n\nWe have all found ChatGPT excelling at one-on-on conversations.\n\nPepperBrooks provided this input: \"I’m really sad and lonely right now.\"\n\nChatGPT: I’m sorry to hear that you’re feeling sad and lonely. It’s natural to feel down sometimes, but it’s important to remember that you’re not alone. There are many people who care about you and want to help you. It can be helpful to talk to someone about your feelings, whether it’s a close friend, family member, or mental health professional.\n\nSometimes, just expressing your thoughts and emotions to someone else can help to alleviate your sadness and loneliness. It’s also important to take care of yourself and do things that make you happy, such as spending time with loved ones, pursuing a hobby, or exercising. These things can help to improve your mood and make you feel more connected to others. Remember that you are strong and capable, and that you can get through this difficult time.\n\nDaniel Nestle said: I thought ChatGPT could be used therapeutically, so I asked it to generate journal prompts to help me deal with anxiety:\n\nWrite down the things that are causing you anxiety at the moment.\n\nDescribe a situation in which you felt anxious and how you coped with it.\n\nReflect on how your thoughts and beliefs contribute to your anxiety.\n\nWrite a letter to your anxiety, expressing your feelings and concerns\n\nImagine yourself in a calm and peaceful place, and describe it in detail.\n\n(many more items followed)\n\n6. Naming things\n\nDaniel continued:\n\nAnother use I thought of is naming ideas.\n\nMe: Help me come up with a name for a new drink. It’s got Japanese gin, unsweetened tonic, lime, Szechuan pepper, and grapefruit.\n\nChatGPT: How about \"Sakura Sunrise?\" The name incorporates the Japanese gin and the citrus flavors of grapefruit and lime, and the word \"sunrise\" suggests a fresh and invigorating start to the day. Alternatively, you could go with something like \"Peppered Grapefruit Gin Fizz\" to emphasize the unique flavor combination of Szechuan pepper and grapefruit.\n\n7. Translation on the go\n\nLisa Monks suggests: You can use ChatGPT on your mobile, so it is a perfect translation tool. Say for example you are traveling in Italy and you need help:\n\nME: Translate the following into Italian\n My car is nearly out of fuel, can you tell me where the nearest petrol station is?\n\nChatGPT: \"La mia auto sta per esaurire il carburante, mi puoi dire dove si trova la stazione di servizio piΓΉ vicina?\"\n\n8. Fitness\n\nLisa Monks also added:\n\nME: I wish to be able to run 5km in 3 months’ time. Outline a running plan for me to be able to achieve this\n\nChatGPt: Here is a running plan that can help you run 5km in 3 months:\n\nStart by walking for 15–20 minutes each day to build up your endurance and get your body used to regular exercise.\n\nAfter a week of walking, begin incorporating short jogs into your routine. Start by jogging for 1–2 minutes at a time, with walking breaks in between. Gradually increase the length of your jogs and reduce the amount of time you spend walking.\n\nOnce you can jog for 10 minutes without stopping, start increasing the distance of your runs. Aim to run 1km without stopping and then gradually increase the distance over time.\n\nIn addition to your regular runs, incorporate strength training and stretching into your routine to improve your overall fitness and reduce the risk of injury.\n\n(more details continued on)\n\n9. Coding and integrations\n\n\n\n10. Lesson plans for teachers\n\nSpencer Crandall had a great time-saving idea!\n\nThis morning I was thinking about who has the most difficult job in the world. Teachers.\n\nToo many students, not enough time. What if they could offload lesson planning stuff to ChatGPT? I gave it a try and this is what it provided.\n\nLesson Title: The History and Impact of Artificial Intelligence\n\nObjective: Students will understand the history and development of artificial intelligence and will be able to identify and discuss the potential positive and negative impacts of AI on society.\n\nMaterials:\n * A timeline of significant events in the history of AI\n * Examples of AI technologies and applications\n\nLesson Outline:\n\nIntroduce the topic of artificial intelligence, and explain that it refers to the development of computer systems and algorithms that can simulate human intelligence and behavior.\n\nShow the timeline of significant events in the history of AI, and discuss the key milestones and developments in the field.\n\nShow examples of AI technologies and applications, and explain how they are used in various industries and fields.\n\nDiscuss the potential positive and negative impacts of AI on society, including its potential to improve productivity, efficiency, and safety, as well as its potential to create new challenges and concerns, such as job displacement and ethical issues.\n\n(many more details followed)\n\n11. Find podcast guests\n\nJoeri Billast contributed this one:\n\nME: Who are ideal guests for my Web3 marketing podcast?\n\nChatGPT: Ideal guests for your Web3 marketing podcast could include industry experts, influencers, and thought leaders in the Web3 marketing space. These could include digital marketers, content creators, business owners, entrepreneurs, and technologists who are active in the Web3 marketing space. You could also invite representatives from Web3-related startups and organizations to be a guest on your podcast.\n\nME: Can you give me examples?\n\nChatGPT: Some examples of ideal guests for your Web3 marketing podcast could include:\n\nTim Berner-Lee, inventor of the World Wide Web\n\nChris Dixon, general partner at Andreessen Horowitz\n\nVitalik Buterin, founder of Ethereum\n\nJoe Lubin, founder of ConsenSys\n\nSusan Fowler, author of Whistleblower\n\n(many other suggestions)\n\n12. Handle social media comments and reviews\n\nLisa Monk thinks ChatGPT can help overwhelmed retail staffs respond to social media issues.\n\nShe asked ChatGPT to \"respond to this restaurant review:\"\n\nPOSITIVE CUSTOMER REVIEW: I absolutely love this place. We eat out a lot however this place has topped it all. Perfect meals, amazing staff and the timing for it all was great! Special thanks to Sophie B (you rock) From your guests all the way from the Gold Coast, THANK YOU\n\nChatGPT REPLY: Thank you so much for your kind words and for taking the time to write a review. We...
                                                                                                                                                                                                                    
                                                                                                    

Get Article Content - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/808/medium+scraper+api/562/get+article+content&article_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Returns a list of responses (response_ids, same as article_ids) for a given article (article_id)



                                                                            
GET https://zylalabs.com/api/808/medium+scraper+api/563/get+article+responses
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"responses":["fccbbffb1bde","c0488f35e5d8","3f76e500108d","b66a3ab2dc9e","36442acab2b4","72ec0c2f6840","524f12055023","c351f46250fa","808429ee6632","38b99694d859","86c047cbe125","9966883f3c73","c94f0c76f3e0","b03799f590ff","17d3cd7dd43e","83c9fa0dc1f9","193240d09f60","823fa61e3f7a","b2a011a0a572","5830835ac4e9","16c3e35ea4be","65c2c515b316","e3447390efa6","6d9c308f3964","fc616fa11941","bb27f8a57308","7f921910a09b","9e46c8fb8a89","7694f2d3f8a6","5bfc0f704e74","29ab04328b07","e51be18ea832","b95b50bd940","709d13a85c2d","cd3870a18c8d","875f072b3f10","27aca6bc7b5a","32043e6c2b90","476720004aa6","20cf1f507b4a","8501cc200a8","272519d8a822","a4bd903867ea","92cbbe3e46b0","50676b0a684c","b29e4b801872","be5f96a6e759","3267e3fbb182","a5b2f4d69ca3","8470d0d636eb","5bffa8fd37ed","2928f9793452","5458b6bd75df","f2845ca1d832","4cbab8f0bd3d","b9668750e2f7","a14a5e2f11fa","1967aa47e682","473ad2c17a35","5277918ab55e","18784cf2e9cf","e0ac98fcbc4d","1247d8828318","7f3abdb7f229","3562ff640c72","7b9e7a424039","938068aa0f51","c033291669a9","22917d38846e","1f4ba41a0359","16db2e97a40","8a715cee223f","86c345d556ca","3f63d842a17b","4ddf296c9bcc","100896720d39","5bc77aa51265","9db236e7a14c","d4b4b024f6b3"],"id":"3bc2644d4507"}
                                                                                                                                                                                                                    
                                                                                                    

Get Article Responses - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/808/medium+scraper+api/563/get+article+responses&article_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Medium Scraper API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the β€˜X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ response header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
523ms

Category:


Related APIs