6

I see that Imgur has an API to query for image IDs in its ID space, but api.stack.imgur.com is not an API endpoint (and SE is moving off Imgur anyway). Say I want to get all the IDs of images in Stack Exchange's collection of images to do analysis / research. I don't see a better way to get it right now than to brute-force it. This is a request that the data dumps include a dump of "occupied"/used image IDs- including those that are not referenced anywhere in public Q&A or chat.

1 Answer 1

4

This is a request that the data dumps include a dump of "occupied"/used image IDs.

You can download all Stack Exchange images on https://github.com/Franck-Dernoncourt/Stack-Exchange-Image-Dataset

The dataset contains all the ~8.7 million images hosted on i.stack.imgur.com that are linked to in the posts, post histories and comments from the Stack Exchange Data Dump.

3
  • 2
    Well there are more (e.g. in chat, or images uploaded but never actually posted) but yeah, that should be the vast majority. Jan 9 at 12:30
  • 4
    @ShadowWizardLoveZelda Thanks, yes, I focused on the "most important" images, i.e. all the images needed to preserve the QA content. Jan 9 at 12:33
  • this is not my goal. I want every image ID. I know how to get the ones that are on public Q&A myself using cross-site SEDE.
    – starball
    Jan 9 at 21:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .