Integrations & API
G4T exposes a read-only REST API, embeddable badges, RSS feeds, and an in-page AI assistant. Plug the catalog into your own tools, sites, and CI pipelines.
v1 Public REST API
A read-only JSON API for the entire G4T package directory. No authentication, CORS-friendly. Base URL:
https://g4t.io/api/v1
https://g4t.io/api/v1/packages?per_page=2
Endpoints
GET /api/v1/packages
List all active packages with pagination.
| Query param | Type | Description |
|---|---|---|
search | string | Search name, description, tags. |
category | string | Filter by category slug. |
sort | string | default · downloads · stars · name |
per_page | int | 1–100 (default 20) |
Example
curl 'https://g4t.io/api/v1/packages?sort=downloads&per_page=3'
{
"data": [
{
"name": "Swagger",
"slug": "swagger",
"vendor": "g4t",
"composer": "g4t/swagger",
"description": "Auto-generates OpenAPI/Swagger…",
"category": "API & Documentation",
"tags": ["swagger","openapi","api"],
"latest_version": "4.1.10",
"downloads": 46475,
"monthly_downloads": 2054,
"github_stars": 123,
"github_url": "https://github.com/g4t/swagger",
"packagist_url": "https://packagist.org/packages/g4t/swagger",
"is_featured": true,
"url": "https://g4t.io/packages/swagger"
}
],
"meta": { "current_page": 1, "last_page": 4, "per_page": 3, "total": 10 }
}
GET /api/v1/packages/{slug}
Get a single package with full detail (includes GitHub releases + rendered README content).
curl 'https://g4t.io/api/v1/packages/swagger'
GET /api/v1/categories
List all categories with their active package counts.
curl 'https://g4t.io/api/v1/categories'
Rate limits & auth
The API is currently public and requires no key. To keep it fair we rate-limit by IP. Server responses include standard X-RateLimit-* headers. Be considerate — cache responses where you can.
Embeddable badges
Each package detail page exposes Packagist-compatible shields. Copy them into your README:
[](https://packagist.org/packages/g4t/swagger) [](https://packagist.org/packages/g4t/swagger) [](https://packagist.org/packages/g4t/swagger)
RSS feed
A standard RSS 2.0 feed lists the most recent packages. Plug it into any reader, IFTTT, or Slack.
https://g4t.io/feed.rss
AI lookup (DeepWiki)
Every package with a GitHub repo gets an Ask AI chat widget on its page, powered by DeepWiki. Ask questions about the codebase, get example usage, and dig into design choices without leaving G4T.
Programmatic access
You can also POST a question and get JSON back:
curl -X POST 'https://g4t.io/packages/swagger/ai/ask' \
-H 'Content-Type: application/json' \
-H 'X-CSRF-TOKEN: …' \
-d '{"question":"How do I add custom security schemes?"}'
Or use DeepWiki directly: https://deepwiki.com/{owner}/{repo}
Command palette (⌘K)
Press ⌘K / Ctrl+K anywhere on the site to jump to any package, exam, or page. The palette is backed by a JSON index you can also fetch directly:
curl 'https://g4t.io/search-index.json'
LinkedIn certificate add-to-profile
Each issued certificate has a one-click Add to LinkedIn button that opens LinkedIn's official Add-to-Profile flow pre-filled with the cert name, org (G4T), issue date, certificate ID, and the public verify URL.
For deep linking, the URL pattern is:
https://www.linkedin.com/profile/add?
startTask=CERTIFICATION_NAME
&name=…
&organizationName=G4T
&issueYear=2026
&issueMonth=5
&certId={cert-id}
&certUrl={verify-url}