Commencer maintenant
Diffbot Tools

Diffbot Create Custom Api

Utilisez Diffbot Create Custom Api avec Diffbot Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion par clé API

Description du fournisseur

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…

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

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

Sortie observable

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

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur