立即开始
Diffbot Tools

Diffbot Create Custom Api

通过 Aident Loadout 使用 Diffbot Tools 的 Diffbot Create Custom Api。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

Tool to create or update the parameters and ruleset of a Custom API. Use this when you need to define custom extraction rules for specific websites that require tailored parsing logic beyond standard Diffbot APIs. Allows defining URL patterns, CSS selectors, extraction rules, an…

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • apistring
    必填
    The specific API being targeted. Always precede the API name with "/api/" as in "/api/article" (except for "all")
  • notesarray
    An array of strings that can be added manually. The API automatically adds a note specifying when the API was last updated
  • rulesarray
    An array of objects that defines a set of rules for the specific urlPattern-api combination
  • testUrlstring
    A URL that can be used to check that the rule still works as intended. This is the page that will load automatically when editing the ruleset in the Dashboard UI
  • useProxystring
    Used to disable proxies (when they have been set globally), by applying the value "none"
  • prefiltersarray
    An array of CSS selector strings that should be omitted from the DOM before extraction occurs
  • urlPatternstring
    必填
    A regex pattern that defines the URLs for which the ruleset will be applied
  • renderOptionsstring
    Rendering options for the page (e.g., 'mobile', 'desktop')
  • xForwardHeadersobject
    X-Forward headers configuration.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源