Providing your data feed to NeedTickets

If you are a ticket provider and would like to ensure your tickets are seen on NeedTickets this page contains information to help you do so.

To supply us with your feed and drive new customers to your site you have to do the following:

  1. Create a data feed which can be accessed by NeedTickets either by HTTP or FTP
  2. Send details of this data feed, and how we can access it, to us using the feedback form

Creating a data feed

If you don't already have a data feed we recommend you follow our generic feed template supplied below.

This template is a XML file describing the main fields we require to display ticket information on our site. This XML file should be regenerated at regular intervals to ensure the feed is up to date. Please note we usually request each data feed once every half an hour, sometimes more at times when popular new tickets come to sale.

If you need any assistance creating your data feed just get in touch and we'll see how we can help.

Generic Data Feed template

Here is a description of the XML template:

<?xml version="1.0" encoding="UTF-8" ?>
<event_list>
    <event>
        <unique_id>{the id you use for the event}</unique_id>
        <booking_url>{the booking URL}</booking_url>
        <tour_name>{tour/artist name}</tour_name>
        <genre_id>{genre identifier, see list below}</genre_id>
        <occur_date>{format:YYYY/MM/DD HH:MM:SS</occur_date>
        <venue_name>{venue name}</venue_name>
        <venue_location>{venue location}</venue_location>
        <status>{status: see list below}</status>
        <ticket>
            <ticket_type>{ticket type}</ticket_type>
            <face_value>{ticket face value}</face_value>
        </ticket>
    </event>
</event_list>

You will need to duplicate the XML section for each event present in your database.

If one event has several ticket types and ticket face values, the section should be replicated.

Genre IDs

  • M01: Pop
  • M02: Rock
  • M03: Metal & Punk
  • M04: Indie
  • M05: Urban
  • M06: Festivals
  • M07: Legends
  • M08: Dance
  • M09: Jazz/Blues
  • M10: Country/Folk
  • M99: Unknown genre

If you can't include genre information in your feed, then we assume the genre for each record is M99 (unknown).

Status IDs

  • 200: Available
  • 400: Sold out

If you have further statuses you wish us to display on our site, then please let us know.

Example

<?xml version="1.0" encoding="UTF-8" ?>
<event_list>
    <event>
        <unique_id>4</unique_id>
        <booking_url>http://www.domain.com/buy/4</booking_url>
        <tour_name>Ben Folds</tour_name>
        <genre_id>M02</genre_id>
        <occur_date>2007/06/01 21:00:00</occur_date>
        <venue_name>Wembley Stadium</venue_name>
        <venue_location>London</venue_location>
        <status>200</status>
        <ticket>
            <ticket_type>Standing</ticket_type>
            <face_value>35.00</face_value>
        </ticket>
        <ticket>
            <ticket_type>Gold Standing</ticket_type>
            <face_value>45.00</face_value>
        </ticket>
    </event>
</event_list>
Ticket Providers