Extract pages from a PDF by range (e.g
mart402.com/v1/pdf-pages
Extract pages from a PDF by range (e.g. 1-3,7) into a new PDF. Deterministic, $0.002/call.
POST
https://mart402.com/v1/pdf-pagesUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://mart402.com/v1/pdf-pages", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"pages":"1","url":"https://mart402.com/samples/assets/doc.pdf"}),
});
console.log(await res.json());Example input
{
"pages": "1",
"url": "https://mart402.com/samples/assets/doc.pdf"
}More from Mart402
- mart402.com/v1/document-pipelineInvoice pipeline in one call: PDF to structured Markdown (hallucination-guarded OCR), invoice field extraction, arithmetic verification, optional issuer enrichment. Flat $0.05/document (text PDFs to 20 pages, scans to 3).0.05
- mart402.com/v1/enrichCompany enrichment: name, domain or URL to verified company profile from primary sources + GLEIF LEI and Japan NTA corporate-number registries. Per-field evidence and confidence, honest nulls. Flat $0.03/company.0.03
- mart402.com/v1/extractWeb extraction for AI agents: URL to clean Markdown + metadata, automatic JS rendering, robots.txt respected. No API key. $0.005 fast / $0.01 rendered; cached results half price (this 402 quotes the exact amount).0.0025
- mart402.com/v1/jp-bonus-netJapan bonus net pay: social insurance premiums and withholding tax from the official bonus rate table (needs previous-month salary). Deterministic, cited sources. $0.01/call.0.01
- mart402.com/v1/jp-business-daysJapan business days + statutory deadlines: holidays (equinox + substitute), business-day arithmetic, tax filing deadlines with holiday shift, wareki conversion. 1980-2099. $0.003/call.0.003
- mart402.com/v1/jp-companyJapanese company profile: corporate site to standard JSON (name, address, representative, capital, contact). $0.03/site.0.03
- mart402.com/v1/jp-consumption-taxJapan consumption tax: per-rate invoice rounding (one rounding per rate), qualified invoice (T+13) field validation, simplified taxation, 20-percent special (taxable periods that include a day 2023-10-01..2026-09-30). $0.01/call.0.01
- mart402.com/v1/jp-crypto-taxJapan crypto-asset tax: realized income under the NTA total-average or moving-average method (sell/spend/exchange as disposals, fees deductible, opening balances). Verified against the official NTA FAQ examples to the yen. Max 300 transactions per call. $0.05/call.0.05
- mart402.com/v1/jp-dependent-thresholdJapan income-wall analysis (fuyou/103-106-130 walls): tax wall derived from the engine, social insurance walls time-versioned (2026-10 rule change), spousal + student dependent (1.5M/1.88M) walls. $0.02/call.0.02
- mart402.com/v1/jp-mortgageMortgage schedules: level-payment/level-principal, total interest, prepayment effect (term-reduction or payment-reduction). Deterministic annuity math. $0.005/call.0.005
- mart402.com/v1/jp-overtime-wageJapan overtime premium pay per Labor Standards Act Art.37 with the official rounding notice (kihatsu-150), plus Article-36 limit check. $0.015/call.0.02
- mart402.com/v1/jp-payroll-netJapan net salary calculator for AI agents: annual gross to take-home pay (social insurance + income tax incl. reconstruction surtax + resident tax with adjustment credit). Exact NTA Beppyo-5 table, official Kyokai-Kenpo FY2026 rates, cited primary sources, deterministic. $0.02/call.0.02
