78trust / 100

News

by api.itsgloria.ai in News & content

x402 APIPassing, checked 2 h ago

Get the latest news about a covered news topic, delivering the most recent 10 headlines.

GET https://api.itsgloria.ai/news

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
348 ms typical, 612 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.itsgloria.ai/news"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.itsgloria.ai%2Fnews
const res = await pay("https://api.itsgloria.ai/news");
console.log(await res.json());

Example input

{
  "feed_categories": {
    "description": "Comma separated list of feed categories. Available categories: ai, ai_agents, base, bitcoin, crypto, dats, defi, ethereum, hyperliquid, machine_learning, macro, perps, rwa, ripple, solana, tech",
    "required": true,
    "type": "string"
  },
  "from_date": {
    "description": "Get the news from this date (YYYY-MM-DD format)",
    "required": false,
    "type": "string"
  },
  "to_date": {
    "description": "Get the news up to this date (YYYY-MM-DD format)",
    "required": false,
    "type": "string"
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402324 ms$0.03
5 h agoPassed402343 ms$0.03
9 h agoPassed402725 ms$0.03
12 h agoPassed402612 ms$0.03
16 h agoPassed402339 ms$0.03
20 h agoPassed402416 ms$0.03
23 h agoPassed402466 ms$0.03
28 h agoPassed402348 ms$0.03