← Back to marketplace

AIsa Payment Gateway - SDK Demo

external

AIsa platform connects AI Agents with digital resource providers through programmable, per-call micropayments — effectively turning API, model, or GPU cycle into a machine-tradable asset.

by Lnpay38 endpoints100% uptime763ms avg

Price

from $0.0015

up to $0.3000 per request

Network

base

Category

ai

On-chain txns

0

Uptime

100%

Avg latency

763ms

Checks

88

Status

Healthy

Base URL

https://pay.lnpay.ai

Endpoints (38)

Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.

POST//twitter/user/batch-info
base$0.0018

Access to batch_user_info API endpoint

POST//twitter/user/followers
base$0.3000

Get user followers in reverse chronological order (newest first). Returns exactly 200 followers per page, sorted by follow date. Most recent followers appear on the first page. Use cursor for pagination through the complete followers list.

POST/res
base$0.0100

Access to protected resource

POST/res
base$0.0100

Access to protected resource

POST/res
base$0.0100

Access to protected resource

POST/resource
base$0.0100

Access to protected resource

POST/resource
base$0.0100

Access to protected resource

POST/resource
base$0.0100

Access to protected resource

POST/twitter/tweet/advanced-search
base$0.0300

Advanced search for tweets. Each page returns up to 20 replies (Sometimes less than 20, because we will filter out ads or other not tweets). Use cursor for pagination.

POST/twitter/tweet/advanced-search
base$0.0300

Advanced search for tweets. Each page returns up to 20 replies (Sometimes less than 20, because we will filter out ads or other not tweets). Use cursor for pagination.

POST/twitter/tweet/article
base$0.0015

Get article by tweet id. cost 100 credit per article

POST/twitter/tweet/article
base$0.0015

Get article by tweet id. cost 100 credit per article

POST/twitter/tweet/quotes
base$0.0300

Get tweet quotes by tweet id. Each page returns exactly 20 quotes. Use cursor for pagination. Order by quote time desc

POST/twitter/tweet/replies
base$0.0300

Get tweet replies by tweet id. Each page returns up to 20 replies (Sometimes less than 20, because we will filter out ads or other not tweets). Use cursor for pagination. Order by reply time desc

POST/twitter/tweet/replies
base$0.0300

Get tweet replies by tweet id. Each page returns up to 20 replies (Sometimes less than 20, because we will filter out ads or other not tweets). Use cursor for pagination. Order by reply time desc

POST/twitter/tweet/retweeters
base$0.1800

Get tweet retweeters by tweet id. Each page returns about 100 retweeters. Use cursor for pagination. Order by retweet time desc

POST/twitter/tweet/retweeters
base$0.1800

Get tweet retweeters by tweet id. Each page returns about 100 retweeters. Use cursor for pagination. Order by retweet time desc

POST/twitter/tweet/thread
base$0.0150

Get the thread context of a tweet. Suppose a tweet thread consists of t1, t2 (replying to t1), t3 (replying to t2), and t4, t5, t6 (all replying to t3). If we provide an API where you input t3 and receive t1, t2, t3, t4, t5, t6. Pagination is supported. The pagination size cannot be set (due to Twitter's limitations), and the data returned per page is not fixed.

POST/twitter/tweet/thread
base$0.0150

Get the thread context of a tweet. Suppose a tweet thread consists of t1, t2 (replying to t1), t3 (replying to t2), and t4, t5, t6 (all replying to t3). If we provide an API where you input t3 and receive t1, t2, t3, t4, t5, t6. Pagination is supported. The pagination size cannot be set (due to Twitter's limitations), and the data returned per page is not fixed.

POST/twitter/tweets
base$0.0015

Get tweet by tweet ids

POST/twitter/tweets
base$0.0015

Get tweet by tweet ids

POST/twitter/user/batch-info
base$0.0018

Batch get user info by user ids. Pricing: Single user request: 18 credits per user, Bulk request (100+ users): 10 credits per user. Note: For cost optimization, we recommend batching requests when fetching multiple user profiles.

POST/twitter/user/check-relationship
base$0.0018

Check if the user is following/followed by the target user.

POST/twitter/user/check-relationship
base$0.0018

Check if the user is following/followed by the target user.

POST/twitter/user/followers
base$0.3000

Get user followers in reverse chronological order (newest first). Returns exactly 200 followers per page, sorted by follow date. Most recent followers appear on the first page. Use cursor for pagination through the complete followers list.

POST/twitter/user/followers
base$0.3000

Get user followers in reverse chronological order (newest first). Returns exactly 200 followers per page, sorted by follow date. Most recent followers appear on the first page. Use cursor for pagination through the complete followers list.

POST/twitter/user/followings
base$0.3000

Get user followings. Each page returns exactly 200 followings. Use cursor for pagination. Sorted by follow date. Most recent followings appear on the first page.

POST/twitter/user/followings
base$0.3000

Get user followings. Each page returns exactly 200 followings. Use cursor for pagination. Sorted by follow date. Most recent followings appear on the first page.

POST/twitter/user/info
base$0.0018

Get user info by screen name

POST/twitter/user/info
base$0.0018

Get user info by screen name

POST/twitter/user/mentions
base$0.0300

Get tweet mentions by user screen name. Each page returns exactly 20 mentions. Use cursor for pagination. Order by mention time desc

POST/twitter/user/mentions
base$0.0300

Get tweet mentions by user screen name. Each page returns exactly 20 mentions. Use cursor for pagination. Order by mention time desc

POST/twitter/user/search
base$0.0360

Search user by keyword

POST/twitter/user/search
base$0.0360

Search user by keyword

POST/twitter/user/tweets
base$0.0300

Retrieve tweets by user name. Sort by created_at. Results are paginated, with each page returning up to 20 tweets.

POST/twitter/user/tweets
base$0.0300

Retrieve tweets by user name. Sort by created_at. Results are paginated, with each page returning up to 20 tweets.

POST/twitter/user/verified-followers
base$0.0600

Get user verified followers in reverse chronological order (newest first). Returns exactly 20 verified followers per page, sorted by follow date. Most recent followers appear on the first page. Use cursor for pagination through the complete followers list. $0.3 per 1000 followers

POST/twitter/user/verified-followers
base$0.0600

Get user verified followers in reverse chronological order (newest first). Returns exactly 20 verified followers per page, sorted by follow date. Most recent followers appear on the first page. Use cursor for pagination through the complete followers list. $0.3 per 1000 followers

Payment

Protocolx402 (direct payment, USDC)
Networkbase

How to call

Via APIHub (recommended)No wallet · pay with credits · gasless
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call it
npx @apihubio/cli call https://pay.lnpay.ai \
  -X POST \
  -d '{ /* check provider docs for input */ }'

# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://pay.lnpay.ai
APIHub pays the provider on your behalf and debits your credit balance for the exact amount. No wallet setup, no gas, no per-call signing.
Via direct x402 (advanced)Bring your own wallet
import { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";

const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);

const res = await x402Fetch("https://pay.lnpay.ai", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();
Requires USDC on Base and gas on each call. The @x402/fetch client signs EIP-3009 transferWithAuthorization for each 402 response and retries.

This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.