Arch Linux API
Returns Arch Linux package search, builds, installed files, recent updates, maintainer packages and AUR search results.
View as Markdown| GET | /archlinux/search | Arch Linux packages matching words in their name or description. |
| GET | /archlinux/package | Every build of one Arch Linux package by its exact name, one per architecture and repository. |
| GET | /archlinux/files | The file paths one Arch Linux package installs, one page at a time. Page with cursor. |
| GET | /archlinux/updates | Recently updated Arch Linux packages in one repository and architecture, from the repository's RSS feed. |
| GET | /archlinux/maintainer | Official Arch Linux packages one maintainer looks after, up to a limit. |
| GET | /archlinux/aurSearch | Arch User Repository packages whose name or description match the words. |
| GET | /archlinux/aurInfo | One Arch User Repository package: its version, maintainer, votes and dependencies. |
| GET | /archlinux/aurDependents | Arch User Repository packages that depend on a package, by its exact name, such as libxml2. |
| GET | /archlinux/news | Arch Linux news: manual interventions, breaking changes and security notices, newest first. |
search
/v1/archlinux/searchArch Linux packages matching words in their name or description.
Parameters
querystring required | Words to search for, such as curl. e.g. curl |
limitinteger | Items per page, 1 to 100. default 20 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
23 fields
arch | string |
base | string |
builtAt | string |
description | string |
licenses | License[] |
name | string |
maintainers | Profile[] |
avatarUrl | string |
bio | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
id | string |
name | string |
postCount | integer (int64) |
url | string |
username | string |
verified | boolean |
name | string |
repo | string |
updatedAt | string |
url | string |
version | string |
curl "https://api.hoshime.com/v1/archlinux/search?query=curl" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/archlinux/search?query=curl", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/archlinux/search?query=curl", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "arch": "x86_64", "base": "coeurl", "builtAt": "2026-03-02T10:02:53Z", "description": "A simple async wrapper around CURL for C++", "licenses": [ { "name": "MIT" } ], "maintainers": [ { "avatarUrl": "", "bio": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "", "name": "", "postCount": 0, "url": "", "username": "artafinde", "verified": false } ], "name": "coeurl", "repo": "extra", "updatedAt": "2026-03-02T10:11:25Z", "url": "https://nheko.im/nheko-reborn/coeurl", "version": "0.3.2-1" }, { "arch": "x86_64", "base": "curl", "builtAt": "2026-10-14T08:38:51Z", "description": "command line tool and library for transferring data with URLs", "licenses": [ { "name": "curl" } ], "maintainers": [ { "avatarUrl": "", "bio": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "", "name": "", "postCount": 0, "url": "", "username": "eworm", "verified": false }, { "avatarUrl": "", "bio": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "", "name": "", "postCount": 0, "url": "", "username": "artafinde", "verified": false } ], "name": "curl", "repo": "core", "updatedAt": "2026-10-15T13:42:44Z", "url": "https://curl.se/", "version": "8.23.0-1" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "archlinux", "requestId": "req_2Xb9kQ…", "units": 1 } }
package
/v1/archlinux/packageEvery build of one Arch Linux package by its exact name, one per architecture and repository.
Parameters
namestring required | Exact package name, such as curl. e.g. curl |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
23 fields
arch | string |
base | string |
builtAt | string |
description | string |
licenses | License[] |
name | string |
maintainers | Profile[] |
avatarUrl | string |
bio | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
id | string |
name | string |
postCount | integer (int64) |
url | string |
username | string |
verified | boolean |
name | string |
repo | string |
updatedAt | string |
url | string |
version | string |
curl "https://api.hoshime.com/v1/archlinux/package?name=curl" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/archlinux/package?name=curl", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/archlinux/package?name=curl", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "arch": "x86_64", "base": "curl", "builtAt": "2026-10-14T08:38:51Z", "description": "command line tool and library for transferring data with URLs", "licenses": [ { "name": "curl" } ], "maintainers": [ { "avatarUrl": "", "bio": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "", "name": "", "postCount": 0, "url": "", "username": "eworm", "verified": false }, { "avatarUrl": "", "bio": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "", "name": "", "postCount": 0, "url": "", "username": "artafinde", "verified": false } ], "name": "curl", "repo": "core", "updatedAt": "2026-10-15T13:42:44Z", "url": "https://curl.se/", "version": "8.23.0-1" }, { "arch": "x86_64", "base": "curl", "builtAt": "2026-10-24T13:01:08Z", "description": "command line tool and library for transferring data with URLs", "licenses": [ { "name": "curl" } ], "maintainers": [ { "avatarUrl": "", "bio": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "", "name": "", "postCount": 0, "url": "", "username": "eworm", "verified": false }, { "avatarUrl": "", "bio": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "", "name": "", "postCount": 0, "url": "", "username": "artafinde", "verified": false } ], "name": "curl", "repo": "core-testing", "updatedAt": "2026-11-04T11:45:56Z", "url": "https://curl.se/", "version": "8.23.0-2" } ], "meta": { "cached": false, "endpoint": "package", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "archlinux", "requestId": "req_2Xb9kQ…", "units": 1 } }
files
/v1/archlinux/filesThe file paths one Arch Linux package installs, one page at a time. Page with cursor.
Parameters
repostring required | Repository: core, extra or multilib.coreextramultilibe.g. core |
archstring required | Architecture: x86_64 or any.x86_64anye.g. x86_64 |
namestring required | Exact package name, such as bash. e.g. bash |
limitinteger | Number of paths, from 1 to 500. default 100 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
1 fields
path | string |
curl "https://api.hoshime.com/v1/archlinux/files?repo=core&arch=x86_64&name=bash" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/archlinux/files?repo=core&arch=x86_64&name=bash", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/archlinux/files?repo=core&arch=x86_64&name=bash", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "path": "etc/" }, { "path": "etc/bash.bash_logout" } ], "meta": { "cached": false, "endpoint": "files", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "archlinux", "requestId": "req_2Xb9kQ…", "units": 1 } }
updates
/v1/archlinux/updatesRecently updated Arch Linux packages in one repository and architecture, from the repository's RSS feed.
Parameters
repostring required | Repository: core, extra or multilib.coreextramultilibe.g. core |
archstring required | Architecture: x86_64 or any.x86_64anye.g. x86_64 |
limitinteger | Number of updates, from 1 to 100. default 20 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
id | string |
imageUrl | string |
publishedAt | string |
source | string |
summary | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/archlinux/updates?repo=core&arch=x86_64" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/archlinux/updates?repo=core&arch=x86_64", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/archlinux/updates?repo=core&arch=x86_64", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "id": "", "imageUrl": "", "publishedAt": "2026-11-05T07:13:19Z", "source": "", "summary": "Network Security Services", "title": "nss 3.133-1 x86_64", "url": "https://archlinux.org/packages/core/x86_64/nss/" }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "id": "", "imageUrl": "", "publishedAt": "2026-11-05T07:13:18Z", "source": "", "summary": "Mozilla's set of trusted CA certificates", "title": "ca-certificates-mozilla 3.133-1 x86_64", "url": "https://archlinux.org/packages/core/x86_64/ca-certificates-mozilla/" } ], "meta": { "cached": false, "endpoint": "updates", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "archlinux", "requestId": "req_2Xb9kQ…", "units": 1 } }
maintainer
/v1/archlinux/maintainerOfficial Arch Linux packages one maintainer looks after, up to a limit.
Parameters
namestring required | Maintainer's Arch username, such as heftig. e.g. heftig |
limitinteger | Items per page, 1 to 100. default 20 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
23 fields
arch | string |
base | string |
builtAt | string |
description | string |
licenses | License[] |
name | string |
maintainers | Profile[] |
avatarUrl | string |
bio | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
id | string |
name | string |
postCount | integer (int64) |
url | string |
username | string |
verified | boolean |
name | string |
repo | string |
updatedAt | string |
url | string |
version | string |
curl "https://api.hoshime.com/v1/archlinux/maintainer?name=heftig" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/archlinux/maintainer?name=heftig", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/archlinux/maintainer?name=heftig", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "arch": "any", "base": "abi-compliance-checker", "builtAt": "2025-01-11T19:45:15Z", "description": "Check ABI compatibility between library versions", "licenses": [ { "name": "LGPL-2.1-or-later" } ], "maintainers": [ { "avatarUrl": "", "bio": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "", "name": "", "postCount": 0, "url": "", "username": "heftig", "verified": false } ], "name": "abi-compliance-checker", "repo": "extra", "updatedAt": "2025-01-11T19:47:34Z", "url": "https://lvc.github.io/abi-compliance-checker/", "version": "2.3+r24+g7c175c4-1" }, { "arch": "any", "base": "abi-dumper", "builtAt": "2025-03-16T17:50:33Z", "description": "Dump ABI of an ELF object containing DWARF debug info", "licenses": [ { "name": "LGPL-2.1-or-later" } ], "maintainers": [ { "avatarUrl": "", "bio": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "", "name": "", "postCount": 0, "url": "", "username": "heftig", "verified": false } ], "name": "abi-dumper", "repo": "extra", "updatedAt": "2025-03-16T17:53:06Z", "url": "https://github.com/lvc/abi-dumper", "version": "1.4-2" } ], "meta": { "cached": false, "endpoint": "maintainer", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "archlinux", "requestId": "req_2Xb9kQ…", "units": 1 } }
aurSearch
/v1/archlinux/aurSearchArch User Repository packages whose name or description match the words.
Parameters
querystring required | Words to search for, at least two characters, such as yay. e.g. yay |
limitinteger | Number of packages, from 1 to 100. default 20 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
14 fields
depends | Dependency[] |
name | string |
description | string |
keywords | Keyword[] |
name | string |
maintainer | string |
name | string |
outOfDate | boolean |
packageBase | string |
popularity | number (double) |
updatedAt | string |
url | string |
version | string |
votes | integer (int64) |
curl "https://api.hoshime.com/v1/archlinux/aurSearch?query=yay" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/archlinux/aurSearch?query=yay", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/archlinux/aurSearch?query=yay", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "depends": [], "description": "A package manager wrapper for pacman, yay and flatpak", "keywords": [], "maintainer": "Akrata", "name": "akp", "outOfDate": false, "packageBase": "akp", "popularity": 0, "updatedAt": "2026-05-11T05:29:20Z", "url": "https://github.com/Akr4ta/akp", "version": "1.0.0-1", "votes": 0 }, { "depends": [], "description": "A universal package manager wrapper supporting pacman, yay, apt, dnf, zypper, flatpak, and snap", "keywords": [], "maintainer": "AquaCheese", "name": "all", "outOfDate": false, "packageBase": "all", "popularity": 0.000804, "updatedAt": "2025-11-17T18:50:28Z", "url": "https://github.com/aquacheese/all", "version": "1.0.0-1", "votes": 1 } ], "meta": { "cached": false, "endpoint": "aurSearch", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "archlinux", "requestId": "req_2Xb9kQ…", "units": 1 } }
aurInfo
/v1/archlinux/aurInfoOne Arch User Repository package: its version, maintainer, votes and dependencies.
Parameters
namestring required | Exact package name, such as yay. e.g. yay |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
14 fields
depends | Dependency[] |
name | string |
description | string |
keywords | Keyword[] |
name | string |
maintainer | string |
name | string |
outOfDate | boolean |
packageBase | string |
popularity | number (double) |
updatedAt | string |
url | string |
version | string |
votes | integer (int64) |
curl "https://api.hoshime.com/v1/archlinux/aurInfo?name=yay" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/archlinux/aurInfo?name=yay", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/archlinux/aurInfo?name=yay", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "depends": [ { "name": "pacman>6.1" }, { "name": "git" } ], "description": "Yet another yogurt. Pacman wrapper and AUR helper written in go.", "keywords": [ { "name": "arm" }, { "name": "AUR" } ], "maintainer": "jguer", "name": "yay", "outOfDate": false, "packageBase": "yay", "popularity": 13.123921, "updatedAt": "2026-10-28T14:15:22Z", "url": "https://github.com/Jguer/yay", "version": "13.1.0-1", "votes": 2649 }, "meta": { "cached": false, "endpoint": "aurInfo", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "archlinux", "requestId": "req_2Xb9kQ…", "units": 1 } }
aurDependents
/v1/archlinux/aurDependentsArch User Repository packages that depend on a package, by its exact name, such as libxml2.
Parameters
namestring required | Exact name of the depended-on package, such as libxml2. Names with very many dependents are refused. e.g. libxml2 |
limitinteger | Number of packages, from 1 to 100. default 20e.g. 5 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
14 fields
depends | Dependency[] |
name | string |
description | string |
keywords | Keyword[] |
name | string |
maintainer | string |
name | string |
outOfDate | boolean |
packageBase | string |
popularity | number (double) |
updatedAt | string |
url | string |
version | string |
votes | integer (int64) |
curl "https://api.hoshime.com/v1/archlinux/aurDependents?name=libxml2&limit=5" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/archlinux/aurDependents?name=libxml2&limit=5", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/archlinux/aurDependents?name=libxml2&limit=5", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "depends": [ { "name": null } ], "description": "…", "keywords": [ { "name": null } ], "maintainer": "…", "name": "…", "outOfDate": false, "packageBase": "…", "popularity": 0, "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…", "version": "…", "votes": 0 } ], "meta": { "cached": false, "endpoint": "aurDependents", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "archlinux", "requestId": "req_2Xb9kQ…", "units": 1 } }
news
/v1/archlinux/newsArch Linux news: manual interventions, breaking changes and security notices, newest first.
Parameters
limitinteger | Number of news items, from 1 to 100. default 20e.g. 5 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
id | string |
imageUrl | string |
publishedAt | string |
source | string |
summary | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/archlinux/news?limit=5" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/archlinux/news?limit=5", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/archlinux/news?limit=5", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://…", "id": "abc123", "name": "…", "url": "https://…", "username": "…" }, "id": "abc123", "imageUrl": "https://…", "publishedAt": "2026-11-06T09:41:00Z", "source": "…", "summary": "…", "title": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "news", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "archlinux", "requestId": "req_2Xb9kQ…", "units": 1 } }