本文へ移動
cccskills
無料GitHub で公開

openapi-auth

Authenticate with the Openapi marketplace (oauth.openapi.com). Use when you need to create, inspect, renew or delete Bearer tokens, list available scopes, check wallet credit, subscriptions, or API usage stats. Required by every other openapi-* skill.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Openapi authentication (OAuth v2)

All Openapi services require a Bearer token created through OAuth v2. This skill manages that token lifecycle.

Credentials

Two layers — never confuse them:

  1. Account credentials (email + API key) → used only against https://oauth.openapi.com, as HTTP Basic auth (username = email, password = API key).
  2. Bearer token (created here, with scopes) → used against every service API as Authorization: Bearer <token>.

Expect credentials in the environment as OPENAPI_EMAIL, OPENAPI_API_KEY (and optionally a ready-made OPENAPI_TOKEN). Never print or commit them.

Create a token

curl -s -u "$OPENAPI_EMAIL:$OPENAPI_API_KEY" https://oauth.openapi.com/tokens \
  -H 'Content-Type: application/json' \
  -d '{
    "scopes": ["GET:company.openapi.com/IT-start"],
    "name": "agent token",
    "ttl": 86400
  }'
  • Scope format: METHOD:host/path-prefix (e.g. POST:sms.openapi.com/IT-messages). Request only the scopes the task needs, with a short ttl (max 1 year).
  • Discover valid scopes: GET https://oauth.openapi.com/scopes (Basic auth).
  • Optional limits object restricts token usage further.
  • A refresh token can renew a token: PATCH /tokens/{id} with the refresh token as Bearer.
  • Tokens can also be created from the console UI (Authentication → "+New Token") at https://console.openapi.com.

Management endpoints (Basic auth)

EndpointPurpose
GET /tokens, GET|PATCH|DELETE /tokens/{token}Token lifecycle
GET /scopes, GET /scopes/{id}Available scopes
GET /wallet, GET /wallet/transactionsCredit balance — check before expensive paid calls
GET /subscriptions, GET /subscriptions/{id}Active plans and remaining requests
GET /stats, GET /stats/apis, GET /stats/apis/{domain}, GET /stats/ipsUsage analytics
GET /errors, GET /callbacksError log and callback monitoring

Billing model (affects every service)

  • Requests are paid from the wallet (per request) or from a subscription (monthly: 30 days no rollover; annual: 365 days, any pace). Both can coexist; the wallet is the fallback when subscription requests run out.
  • Some APIs have free daily/monthly tiers; rate limits, when present, are stated in each API's description.
  • Sandbox: free test requests, but "sandbox credit" must be enabled in the console first; responses are illustrative.

Notes

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Vehicle data through Openapi Automotive - look up cars, motorcycles, insurance and MOT status by license plate across Italy, UK, Germany, France, Spain, Portugal. Use for vehicle technical data and insurance validity checks by plate.

日本語の概要は準備中です。原文の説明を表示しています。

openapi/openapi-skills152026年9月15日 更新

Look up company/business data through Openapi - Italian companies by VAT/tax code or name, European and worldwide company search, shareholders, UBO, AML, PEC/SDI codes, company monitoring. Use for questions like "find data about company X", "who owns VAT number Y", "search companies in France/EU/worldwide".

日本語の概要は準備中です。原文の説明を表示しています。

openapi/openapi-skills152026年9月15日 更新

Obtain official Italian documents through Openapi - chamber of commerce reports (visure camerali), financial statements/balance sheets, company files (fascicoli), bylaws, DURC, protest reports. Use when the user needs an official PDF document about an Italian company or person.

日本語の概要は準備中です。原文の説明を表示しています。

openapi/openapi-skills152026年9月15日 更新

Digital signatures and time stamps through Openapi - eIDAS-compliant electronic signatures (SES with OTP, qualified QES, e-seals, massive automatic signing) and qualified time stamping of documents. Use when the user needs a document signed electronically or time-stamped with legal validity.

日本語の概要は準備中です。原文の説明を表示しています。

openapi/openapi-skills152026年9月15日 更新

Italian geographic and property data through Openapi - geocoding/reverse geocoding, zip codes (CAP), municipalities/provinces/regions with ISTAT codes, Italian cadastre (catasto) property and owner lookups, visure catastali/ipotecarie, real estate valuations.

日本語の概要は準備中です。原文の説明を表示しています。

openapi/openapi-skills152026年9月15日 更新

Italian electronic invoicing and payments through Openapi - send/receive electronic invoices via SDI (Sistema di Interscambio), digital receipts (scontrino elettronico), legal storage, and bill payments (MAV, RAV, PagoPA, car tax). Use for fatturazione elettronica and bill payment tasks.

日本語の概要は準備中です。原文の説明を表示しています。

openapi/openapi-skills152026年9月15日 更新

openapi のスキルをすべて見る

このスキルの問題を報告する