# WEBSERVICE Function

> Return data from a web service with the WEBSERVICE formula function of TX Sheet Control: the url argument, the formula provider it needs and the #N/A result.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > WEBSERVICE Function
- **221 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/webservice/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/webservice/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/webservice/llms-full.txt

---

Return data from a web service. `url` is the address of the service. WEBSERVICE needs data that the application supplies through a formula provider; TX Sheet Control does not access the network on its own. Without a provider, the function returns `#N/A`.

### Syntax

```text
WEBSERVICE(url)
```

Category: Web. Minimum arguments: 1. Maximum arguments: 1.

> Important
>
> **Application Data or Provider Required.** Configure the documented provider rather than expecting automatic network or Excel-service access.

### Examples

```text
=WEBSERVICE("https://example.com/data")
```

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [VSTACK Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/vstack/llms-full.txt)
- **Next:** [WEEKDAY Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/weekday/llms-full.txt)
