Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9008705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:00:22+00:00 2026-06-16T02:00:22+00:00

From the imgur api page: For public read-only and anonymous resources, such as getting

  • 0

From the imgur api page:

For public read-only and anonymous resources, such as getting image info, looking up user comments, creating an anonymous album, etc. all you need to do is send an authorization header with your client_id along with your requests. This also works if you’d like to upload images anonymously (without the image being tied to an account). This lets us know which application is accessing the API.

This is my request using python-requests:

 payload = {"Client-ID":"my client id"}
 r=requests.get("https://api.imgur.com/3/account/imgur/images/0.json?perPage=42&page=6", data = payload,headers={"content-type":"text"},verify=False)

I’m getting a 403 error. All I want to do is retrieve images. Nothing to do with user information, so no need of Oauth2. Where am I going wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T02:00:23+00:00Added an answer on June 16, 2026 at 2:00 am

    It looks like you’re sending your Client-ID as your request body. The documentation says it needs to be in the Authorization header.

    headers = {"Content-Type": "text", "Authorization": "Client-ID YOUR_CLIENT_ID"}
    r = requests.get("https://...", headers=headers, verify=False)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Imgur api to upload image from my webapp. How to extract
from fabric.api import sudo, put, run def install(): run('source /home/user/.virtualenvs/demo/bin/activate') run('pip install requests') if
I just recieve my unique developer API key from Imgur and I'm aching to
I am getting strange behaviour from this function. Input public function fetch_array($result_set) { $rows
I am trying to upload an image on imgur by accessing their API through
I'm using this PHP to parse a XML file: <?php $xml = simplexml_load_file(http://api.imgur.com/2/image/zzFV5.xml); echo
I'm looking for examples in reddit API. I want to pull images from a
So I am using one of the imgur api examples for uploading an image
I am trying to post image to user wall using javascript FB.api. Image is
If you go to imgur.com from your Android device, click on Upload an Image

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.