Tags - List API

Get all the Tags.

Method GET

Parameters

Name Details Type Required
page The page number. integer No
query The search query. string No
orderBy The field to order by. string No
orderDirection The order direction. string No

API Example

How to Use

fetch('https://simplecrudapi.com/api/tags')
	.then(response => response.json())
	.then(data => console.log(data))
	.catch(error => console.error(error));

Response

[
    {
        "data": [
            {
                "id": 2,
                "name": "Finance",
                "description": "Advice on managing your money, investments, and savings."
            },
            {
                "id": 1,
                "name": "Education",
                "description": "Resources and information for lifelong learning."
            }
        ],
        "links": {
            "first": "http:\/\/127.0.0.1:8000\/api\/categories?page=1",
            "last": "http:\/\/127.0.0.1:8000\/api\/categories?page=1",
            "prev": null,
            "next": null
        },
        "meta": {
            "current_page": 1,
            "from": 1,
            "last_page": 1,
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "http:\/\/127.0.0.1:8000\/api\/categories?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "Next »",
                    "active": false
                }
            ],
            "path": "http:\/\/127.0.0.1:8000\/api\/categories",
            "per_page": 20,
            "to": 4,
            "total": 4
        }
    }
]

Try Now

fetch('https://simplecrudapi.com/api/tags')
	.then(response => response.json())
	.then(data => console.log(data))
	.catch(error => console.error(error));

Test with Open API

View Open API

Our Proudly Sponsors 🎉

© 2025 Simple CRUD API. All rights reserved.