---
title: "http:urlinfo — URL information"
description: "iXML command http:urlinfo: URL information."
canonical_url: "https://www.zeyos.com/ixml/ref/http-urlinfo"
markdown_url: "https://www.zeyos.com/ai/guide/ixml/ref/http-urlinfo.md"
section: "ixml-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/ixmldoc.xml"
source_sha256: "a23f04e6a98628ca3c273c3b8dd2c33c034cfda3e0f00478d8793074fd2f70dd"
---

# http:urlinfo — URL information

HTTP:URLINFO parses a URL according to RFC 1738 and returns the various components thereof.

HTTP:URLINFO returns an array comprised of the following items:

				Key      Description
				----------------------------------------------------------------------
				scheme   scheme
				host     hostname
				port     port
				pass     password
				user     username
				path     path
				query    query
				fragment fragment/anchor
				args     array of query arguments with associated name and value pairs

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| var | var |  | Result variable name |
| url | string |  | URL |

### Children
- (none)

### Parents
- (not restricted in the reference)

### Result
- binding: var; type: array; predicate: no-result-propagation

### Examples

```xml
<http:urlinfo var="info" url="http://www.google.com?q=iXML"/>
<output>Scheme: $info.scheme, Host: $info.host, Query: $info.query, Arg 'q': $info.args.q</output>
<!-- Scheme: http, Host: www.google.com, Query: q=iXML, Arg 'q': iXML -->
```
