Explore Instagram with Instafeed API

Are you looking for an easy way to retrieve and display Instagram content on your website? Look no further than Instafeed API! With this public API, you can fetch Instagram photos and videos based on username, hashtag, location, and much more.

To get started, you'll need to sign up and get your API key. Once you have your API key, you can start exploring the various endpoints available to you. Here are a few examples to get you started:

Get user feed

// Require Instafeed package
const instafeed = require('instafeedapi');

// Set your API Key
instafeed.setApiKey('YOUR_API_KEY');

// Retrieve the user's feed
const feed = instafeed.getUserFeed({
  username: 'USERNAME'
});

// Log the results
feed.then(response => console.log(response));

Get hashtag feed

// Require Instafeed package
const instafeed = require('instafeedapi');

// Set your API Key
instafeed.setApiKey('YOUR_API_KEY');

// Retrieve the hashtag feed
const feed = instafeed.getHashtagFeed({
  hashtag: 'HASHTAG'
});

// Log the results
feed.then(response => console.log(response));

Get location feed

// Require Instafeed package
const instafeed = require('instafeedapi');

// Set your API Key
instafeed.setApiKey('YOUR_API_KEY');

// Retrieve the location feed
const feed = instafeed.getLocationFeed({
  locationId: 'LOCATION_ID'
});

// Log the results
feed.then(response => console.log(response));

These are just a few examples of the many endpoints available with Instafeed API. By using this powerful tool, you can easily integrate Instagram content into your website, blog, or app. Happy exploring!

Related APIs