- See Also
-
Related Guides
- Accessing External Services & APIs
- Web Operations
- Financial & Economic Data
- Calling External Programs
- Scientific Data Analysis
- Knowledge Representation & Access
- Creating & Importing Images
- Sharing & Embedding Content
- Background & Scheduled Tasks
- LLM-Related Functionality
- Using Connected Devices
- Mail, Messages, Etc.
-
- See Also
-
Related Guides
- Accessing External Services & APIs
- Web Operations
- Financial & Economic Data
- Calling External Programs
- Scientific Data Analysis
- Knowledge Representation & Access
- Creating & Importing Images
- Sharing & Embedding Content
- Background & Scheduled Tasks
- LLM-Related Functionality
- Using Connected Devices
- Mail, Messages, Etc.
ServiceExecute[service,"req"]
executes "req" on an external service.
ServiceExecute[service,"req",{par1val1,…}]
executes "req" with the specified settings for parameters.
ServiceExecute[req]
executes ServiceRequest req on an external service.
ServiceExecute
Listing of Supported External Services »ServiceExecute[service,"req"]
executes "req" on an external service.
ServiceExecute[service,"req",{par1val1,…}]
executes "req" with the specified settings for parameters.
ServiceExecute[req]
executes ServiceRequest req on an external service.
Details and Options
- The service for ServiceExecute can be specified by a ServiceObject returned from ServiceConnect, or directly by the name of the service.
- If a connection to service is not found, ServiceExecute will try to establish a new connection. If multiple connections to service exist, it will use the most recent one.
- ServiceExecute works with a growing number of external services, given in the guide "Listing of Supported External Services".
- Use ServiceObjects[] to list all available service objects.
- $Services gives the list of available external services.
- ServiceObject[…]["req",params] is equivalent to ServiceExecute[ServiceObject[…],"req",params].
- The following requests are available for all services:
-
"ID" connection ID "Information" information about the service "Name" service name "Requests" available requests "RequestParameters" list of available parameters for each request "RequestParameterPatterns" parameter patterns for all requests - The following options can be given:
-
Authentication ![TemplateBox[{Automatic, paclet:ref/Automatic}, RefLink, BaseStyle -> {3ColumnTableMod}] TemplateBox[{Automatic, paclet:ref/Automatic}, RefLink, BaseStyle -> {3ColumnTableMod}]](Files/ServiceExecute.en/1.png)
authentication information to send ProgressReporting $ProgressReporting whether to show the progress monitor TimeConstraint Automatic time to wait for a response
Examples
open all close allBasic Examples (1)
Scope (4)
List the available categories on ArXiv:
ServiceExecute["ArXiv", "CategoryList"]//ShortSpecify multiple parameters at once:
ServiceExecute["ArXiv", "TitleSearch", {"Query" -> "Wolfram", MaxItems -> 3, "StartIndex" -> 5}][All, "Title"]Use the service object to perform the request:
so = ServiceConnect["ArXiv"]so["CategoryList"]//Shortso["TitleSearch", {"Query" -> "Wolfram", MaxItems -> 3}]Create a request to "PubChem":
req = ServiceRequest["PubChem", "CompoundDescription", {"InChI" -> "InChI=1S/ClO2/c2-1-3"}]ServiceExecute[req]Get information about the requests and their parameters:
ServiceExecute["ArXiv", "Requests"]ServiceExecute["ArXiv", "RequestParameters"]//DatasetOptions (1)
Authentication (1)
Use the Authentication option to provide API credentials:
ServiceExecute["ImageCreate", {"Prompt" -> "a cute cat"}, Authentication -> "myOpenAIKey"]Applications (3)
Create a word cloud of The Scarlet Letter:
WordCloud[ServiceExecute["OpenLibrary", "BookText", {"BibKeys" -> {{"OLID", "OL24929973M"}}}][1]]Create a connection to the FRED API using your registered API key:
fred = ServiceConnect["FederalReserveEconomicData"]Plot the time series for mortgages:
fred["SeriesSearch", {"Query" -> "mortgages", "SortBy" -> {"SeriesID", "Descending"}, MaxItems -> 5}]DateListPlot@fred["SeriesData", "ID" -> {"WRMORTG"}]result = ServiceExecute["BingSearch", "Search", {"Query" -> "duck", "SearchType" -> "Image", MaxItems -> 5}]ImageIdentify[Normal@result[All, "Thumbnail"]]Related Guides
-
▪
- Accessing External Services & APIs ▪
- Web Operations ▪
- Financial & Economic Data ▪
- Calling External Programs ▪
- Scientific Data Analysis ▪
- Knowledge Representation & Access ▪
- Creating & Importing Images ▪
- Sharing & Embedding Content ▪
- Background & Scheduled Tasks ▪
- LLM-Related Functionality ▪
- Using Connected Devices ▪
- Mail, Messages, Etc.
Text
Wolfram Research (2014), ServiceExecute, Wolfram Language function, https://reference.wolfram.com/language/ref/ServiceExecute.html (updated 2025).
CMS
Wolfram Language. 2014. "ServiceExecute." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/ServiceExecute.html.
APA
Wolfram Language. (2014). ServiceExecute. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ServiceExecute.html
BibTeX
@misc{reference.wolfram_2026_serviceexecute, author="Wolfram Research", title="{ServiceExecute}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/ServiceExecute.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_serviceexecute, organization={Wolfram Research}, title={ServiceExecute}, year={2025}, url={https://reference.wolfram.com/language/ref/ServiceExecute.html}, note=[Accessed: 13-June-2026]}