List submitted sitemaps for your site
google-search-console.sitemapsList the sitemaps submitted for your site and how many URLs Google took from each
- 価格
- freeカタログ価格で提供
- 成功率
- 100%直近 30 日 · 973 回
- レイテンシ p50
- 130 msp95 406 ms
- 最終確認
- 2026/07/28動作確認済み
GEThttps://toolswitch.dev/v1/tools/google-search-console.sitemapsBeta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
per sitemap: lastSubmitted, lastDownloaded, isPending, warnings, errors, and contents[] with submitted vs indexed counts. Submitting a new one is PUT /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath} and needs the `write` capability
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| パスパラメータ | ||||
siteUrl | 文字列 | 必須 | Raw property id accepted; treg encodes it | sc-domain:example.com |
| クエリパラメータ | ||||
sitemapIndex | 文字列 | 任意 | full URL of a sitemap index — returns only the sitemaps it contains | |
- パスパラメータ
siteUrl文字列必須Raw property id accepted; treg encodes it
例:
sc-domain:example.com- クエリパラメータ
sitemapIndex文字列任意full URL of a sitemap index — returns only the sitemaps it contains
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Beta
curl -X GET 'https://toolswitch.dev/v1/tools/google-search-console.sitemaps' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/google-search-console.sitemaps",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/google-search-console.sitemaps", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。