by cyberboysumanjay


Inshorts News API [Unofficial]

This API is capable of fetching news contents from various sources as gathered by Inshorts app.

Show some ❤️ and ⭐ the repo to support the project

GitHub stars

Twitter Follow

GitHub followers

Telegram Channel

News Categories

This API supports category wise news. Here is a complete list of all categories.

  1. all
  2. national //Indian News only
  3. business
  4. sports
  5. world
  6. politics
  7. technology
  8. startup
  9. entertainment
  10. miscellaneous
  11. hatke
  12. science
  13. automobile


Make a get request specifying the category of news you want{category_name}

Example -

Response Format

The response JSON Object looks something like this -

  "category": "technology",
  "data": [
      "author": "Pragya Swastik",
      "content": "American actor Aaron Paul, who portrayed Jesse Pinkman in 'Breaking Bad', revealed that he uses a 'credit card-sized dumb phone' that cannot store any apps and can only make calls and send texts. \"There's no camera or emailing,\" Paul said, adding that he's planning to buy a flip phone. \"I haven't owned a computer in over 10 years,\" he added.",
      "date": "15 Mar 2020,Sunday",
      "imageUrl": "",
      "readMoreUrl": " ",
      "time": "06:17 pm",
      "title": "\nI use a 'dumb phone' that only makes calls & sends texts: 'Breaking Bad' actor\n",
      "url": ""
      "author": "Pragya Swastik",
      "content": "Google recently shared five basic protective measures against coronavirus that can be followed by people worldwide. These include washing hands often, coughing into the elbow, not touching the face, staying over three feet apart from others and staying at home on feeling sick. Google engineers are also building a website to screen potential coronavirus patients in the US.",
      "date": "16 Mar 2020,Monday",
      "imageUrl": "",
      "readMoreUrl": " ",
      "time": "07:00 am",
      "title": "\nGoogle shares 5 basic protective measures against coronavirus\n",
      "url": ""
  "success": true


Install all dependencies listed in requirements.txt file.

  1. To install all dependencies run -

    $ sudo -H pip3 install -r requirements.txt
  2. Start the server

    $ python

Apps using this API

Telegram Channel of Inshorts News

Telegram Channel

You can fork the repo and deploy on VPS, Heroku or Vercel :)


Deploy to Vercel

⭐ the Repo in case you liked it :)

Made with ❤️ in India

© Sumanjay