bing-webmaster-ai-cli-mcp

Bing Webmaster Tools API surface

Transcribed from Microsoft's IWebmasterApi interface reference and each method's definition page, fetched 2026-08-25. The interface has 62 methods. Exactly three are marked Obsolete by Microsoft and are documented but deliberately not exposed, leaving 59 supported methods. HTTP verbs come from each method's WebGet or WebInvoke attribute. R/W is this project's safety classification; FetchUrl is a write because it requests a crawl and consumes quota.

Primary source: https://learn.microsoft.com/en-us/dotnet/api/microsoft.bing.webmaster.api.interfaces.iwebmasterapi?view=bing-webmaster-dotnet

MethodParamsHTTPR/WGroup
GetUserSites—GETRSites
GetSiteRolessiteUrl, includeAllSubdomainsGETRSites
GetSiteMovessiteUrlGETRSites
AddSitesiteUrlPOSTWSites
RemoveSitesiteUrlPOSTWSites
VerifySitesiteUrlPOSTWSites
AddSiteRolessiteUrl, delegatedUrl, userEmail, authenticationCode, isAdministrator, isReadOnlyPOSTWSites
RemoveSiteRolesiteUrl, siteRole: SiteRolesPOSTWSites
SubmitSiteMovesiteUrl, settings: SiteMoveSettingsPOSTWSites
GetQueryStatssiteUrlGETRTraffic
GetQueryTrafficStatssiteUrl, queryGETRTraffic
GetQueryPageStatssiteUrl, queryGETRTraffic
GetQueryPageDetailStatssiteUrl, query, pageGETRTraffic
GetPageStatssiteUrlGETRTraffic
GetPageQueryStatssiteUrl, pageGETRTraffic
GetRankAndTrafficStatssiteUrlGETRTraffic
GetUrlInfositeUrl, urlGETRCrawl
GetUrlTrafficInfositeUrl, urlGETRCrawl
GetChildrenUrlInfositeUrl, url, page, filterProperties: FilterPropertiesPOSTRCrawl
GetChildrenUrlTrafficInfositeUrl, url, pageGETRCrawl
GetCrawlStatssiteUrlGETRCrawl
GetCrawlIssuessiteUrlGETRCrawl
GetCrawlSettingssiteUrlGETRCrawl
GetFetchedUrlssiteUrlGETRCrawl
GetFetchedUrlDetailssiteUrl, urlGETRCrawl
SaveCrawlSettingssiteUrl, crawlSettings: CrawlSettingsPOSTWCrawl
FetchUrlsiteUrl, urlPOSTWCrawl
GetUrlSubmissionQuotasiteUrlGETRSubmission
SubmitUrlsiteUrl, urlPOSTWSubmission
SubmitUrlBatchsiteUrl, urlListPOSTWSubmission
GetContentSubmissionQuotasiteUrlGETRContent submission
SubmitContentsiteUrl, url, httpMessage, structuredData, dynamicServingPOSTWContent submission
GetFeedssiteUrlGETRSitemaps
GetFeedDetailssiteUrl, feedUrlGETRSitemaps
SubmitFeedsiteUrl, feedUrlPOSTWSitemaps
RemoveFeedsiteUrl, feedUrlPOSTWSitemaps
GetBlockedUrlssiteUrlGETRURL blocking
AddBlockedUrlsiteUrl, blockedUrl: BlockedUrlPOSTWURL blocking
RemoveBlockedUrlsiteUrl, blockedUrl: BlockedUrlPOSTWURL blocking
GetQueryParameterssiteUrlGETRQuery parameters
AddQueryParametersiteUrl, queryParameterPOSTWQuery parameters
RemoveQueryParametersiteUrl, queryParameterPOSTWQuery parameters
EnableDisableQueryParametersiteUrl, queryParameter, isEnabledPOSTWQuery parameters
GetCountryRegionSettingssiteUrlGETRGeo targeting
AddCountryRegionSettingssiteUrl, settings: CountryRegionSettingsPOSTWGeo targeting
RemoveCountryRegionSettingssiteUrl, settings: CountryRegionSettingsPOSTWGeo targeting
GetActivePagePreviewBlockssiteUrlGETRPage preview blocks
AddPagePreviewBlocksiteUrl, url, reason: BlockReasonPOSTWPage preview blocks
RemovePagePreviewBlocksiteUrl, urlPOSTWPage preview blocks
GetDeepLinkBlockssiteUrlGETRDeep link blocks
AddDeepLinkBlocksiteUrl, market, searchUrl, deepLinkUrlPOSTWDeep link blocks
RemoveDeepLinkBlocksiteUrl, market, searchUrl, deepLinkUrlPOSTWDeep link blocks
GetLinkCountssiteUrl, pageGETRInbound links
GetUrlLinkssiteUrl, link, pageGETRInbound links
GetConnectedPagessiteUrlGETRInbound links
AddConnectedPagesiteUrl, masterUrlPOSTWInbound links
GetKeywordq, country, language, startDate, endDateGETRKeywords
GetKeywordStatsq, country, languageGETRKeywords
GetRelatedKeywordsq, country, language, startDate, endDateGETRKeywords
GetDeepLinkAlgoUrlssiteUrlGETRDeep links obsolete
GetDeepLinksiteUrl, urlGETRDeep links obsolete
UpdateDeepLinksiteUrl, algoUrl, deepLink, weightPOSTWDeep links obsolete

Deliberate exclusions

  • GetDeepLinkAlgoUrls — Excluded: Microsoft marks this method Obsolete.
  • GetDeepLink — Excluded: Microsoft marks this method Obsolete.
  • UpdateDeepLink — Excluded: Microsoft marks this method Obsolete.

Verified complex request types

The exact serialized property names below come from the linked Microsoft type and property pages. Enum-valued properties are represented by their JSON numeric value; callers must not invent enum names.

  • BlockedUrl: Date, DaysToExpire, EntityType, RequestType, Url.
  • CrawlSettings: CrawlBoostAvailable, CrawlBoostEnabled, CrawlRate.
  • FilterProperties: CrawlDateFilter, DiscoveredDateFilter, DocFlagsFilters, HttpCodeFilters.
  • SiteMoveSettings: Date, MoveScope, MoveType, SourceUrl, TargetUrl.
  • CountryRegionSettings: Date, TwoLetterIsoCountryCode, Type, Url.
  • SiteRoles: Date, DelegatedCode, DelegatedCodeOwnerEmail, DelegatorEmail, Email, Expired, Role, Site, VerificationSite.

SubmitContent takes an RFC-style HTTP response and structured data as base64 strings; dynamicServing is an integer from 0 through 5. SubmitUrlBatch has a documented per-call cap of 500 and must also fit the live quota returned by GetUrlSubmissionQuota. Microsoft documents a 10 MB uncompressed content payload limit per SubmitContent request; the combined decoded httpMessage and structuredData must fit it.

Verified response types

Microsoft's AddSiteRoles JSON example pairs siteUrl: http://example.com with delegatedUrl: http://host1.example.com. The delegated URL is therefore validated as absolute but is not restricted to the site's exact host.

Edit on GitHub · 2026-09-02