Empezar ahora
Diffbot Tools

Diffbot Create Custom Api

Usa Diffbot Create Custom Api con Diffbot Tools mediante Aident Loadout. Revisa sus entradas, salidas, configuración, precio y riesgo antes de ejecutarla.

Action de escrituraNivel de riesgo 2 de 5Conexión con clave de API

Descripción del proveedor

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…

Precios y límites

Precio
Action gratuita
Pago unificado
No compatible actualmente

Entradas

  • apistring
    Obligatorio
    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
    Obligatorio
    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.

Salida observable

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

Skills que usan esta Action

Casos de uso relacionados

Aún no hay casos de uso relacionados verificados.

Fuente oficial

Fuente del proveedor