Static Data API Documentation

GET Endpoints to get static json data.

Base Data URL


It is required to set app-id Header for all endpoints to track user statistic.
You can get personal App ID value on your account page.
Example: app-id: 0JyYiOQXQQr5H9OEn21312

Data Pagination

For some endpoints you will get a single item. But for some of them it should be a list of objects.
To control amount of items, you need to use page and limit URL params.
Limit value should be in range [5-50]. Default value: 20
Page value should be in range [0-999]. Default value: 0
Take 10 elements on a second page(page number starts from zero). Return items from 11 to 20 in a default order.

Data Explorer

Check data Explorer page to get more info about Data relations, and possible fields values.
Data Explorer Page
Dummy API Endpoints that returns User model data in response
Get users list
Response: array(User)
Get user Full profile
Response: User
API Endpoints to get Post data by various filters as user/tag etc.
Get posts list
Response: array(Post)
Get single post
Response: Post
Get posts list created by user
Response: array(Post)
Get posts list by tag title
Response: array(Post)
Dummy API Endpoints to get Comment data by each post
Get post comments list
Response: array(Comment)
Dummy API Endpoints to get Tag list that used by posts
Get tags list
Response: array(Tag)

Sample code of API usage

API call on React(Javascript) using Axios

Axios is a simple HTTP client library, that allows us to make API call's on both server-side and client-side.
The main benefit is easy to interface and Promises support.
Link to library

import React, { useEffect, useState } from 'react';
import axios from 'axios';

const BASE_URL = '';
const APP_ID = '{APP_ID}';

const App = () => {
    const [loading, setLoading] = useState(false);
    const [data, setData] = useState(null);

    useEffect(() => {
        axios.get(`${BASE_URL}/user`, { headers: { 'app-id': APP_ID } })
            .then(({ data }) => setData(data))
            .finally(() => setLoading(false));
    }, []);

    return (
           {loading && "Loading..."}

export { App };
Privacy PolicyCookie PolicyTerms and Conditions