📯 Blog
ungig ungig Official UnGig Community Team Nov 5, 2025

UnGig Now Has a Public API - Display Forum Content on Your Website

Great news! UnGig now has a simple REST API that lets you pull forum content and display it on your own website, blog, or portfolio.

What You Can Do

With our API, you can:

✅ Display latest job opportunities on your personal website
✅ Show success stories on your blog
✅ Embed English learning posts in your app
✅ Build custom tools using UnGig community data
✅ Create RSS-like feeds for external platforms

Available Endpoints

1. Get All Channels

GET https://ungig.org/api/channels

Returns list of all forum channels with names, slugs, and URLs.

2. Get Latest Posts

GET https://ungig.org/api/posts/10

Returns the 10 most recent posts from all channels (you can change the number).

3. Get Posts from Specific Channel

GET https://ungig.org/api/channels/exit-strategies/posts/5

Returns 5 latest posts from the "Exit Strategies" channel.

Available channel slugs:

  • exit-strategies
  • education
  • jobs
  • support
  • success-stories

Example Usage

JavaScript (Simple)

// Display latest 5 job opportunities
fetch('https://ungig.org/api/channels/jobs/posts/5')
  .then(response => response.json())
  .then(posts => {
    posts.forEach(post => {
      console.log(post.title);
      console.log(post.excerpt);
      console.log(post.url);
    });
  });

PHP (Simple)

<?php
$json = file_get_contents('https://ungig.org/api/posts/10');
$posts = json_decode($json, true);

foreach ($posts as $post) {
    echo "<h3><a href='{$post['url']}'>{$post['title']}</a></h3>";
    echo "<p>{$post['excerpt']}</p>";
}

jQuery

$.getJSON('https://ungig.org/api/channels/success-stories/posts/5', function(posts) {
    $.each(posts, function(i, post) {
        $('#stories').append(
            '<div class="story">' +
            '<h4>' + post.title + '</h4>' +
            '<p>' + post.excerpt + '</p>' +
            '<a href="' + post.url + '">Read More</a>' +
            '</div>'
        );
    });
});

Response Format

Each post includes:

{
  "id": 123,
  "title": "Post title",
  "excerpt": "First 200 characters of the post...",
  "url": "https://ungig.org/posts/123",
  "created_at": "2025-11-05 10:30:00",
  "author": "Username",
  "channel": "Channel Name"
}

Use Cases

For Job Seekers:

  • Build your personal portfolio site that automatically shows your UnGig contributions
  • Create a custom dashboard tracking job opportunities you're interested in

For Content Creators:

  • Pull success stories to feature on your blog
  • Embed English learning content in language learning apps

For Developers:

  • Build mobile apps with UnGig content
  • Create browser extensions that show daily job opportunities
  • Integrate UnGig feed into Slack/Discord bots

For Employers/Partners:

  • Display UnGig job listings on your company website
  • Show community activity on partner platforms

Technical Details

  • Format: JSON
  • Authentication: None required (public read-only)
  • Rate Limiting: Reasonable use (don't hammer the server)
  • CORS: Enabled for cross-origin requests

Questions?

Have questions about the API or want to share what you built with it? Reply below!

Built something cool using the UnGig API? Share it in the comments - we'd love to see what the community creates! 🚀


Note: This API is provided as-is for community benefit. Please use responsibly and don't abuse the endpoints.