Documentation
ACHTUNG: Bitte berücksichtigen Sie, dass die Inhalte, die Sie via API beziehen und veröffentlichen, mit den Originalmeldungen im Presseportal verlinkt werden müssen. (
Mehr)
Verlinkung Inhalte
Die dpa-Tochter news aktuell stellt im Presseportal via API hochwertige Inhalte kostenfrei bereit. Es ist für uns ein Gebot der Fairness, dass die Nutzer
unserer Inhalte Ihre eigenen Web-Angebote mit dem Presseportal verlinken.
Unsere API liefert einen Link auf die entsprechende Meldung im Presseportal immer automatisch mit:
Beispiel:
<url>http://www.presseportal.de/pm/77055/1521219/portalhaus_internetservices_gmbh/api</url>
Bitte stellen Sie sicher, dass dieses Feld auf Ihren Seiten als funktionierender Link dargestellt wird. Wir behalten uns vor, Ihren API-Key bei Nicht-Verlinkung
zu deaktivieren.
Herzlichen Dank für Ihre Kooperation und Unterstützung!
Weitere Infos und Fragen: presseportal@newsaktuell.de
Search for companies
- URL Scheme
- /search/company
URL Parameters
| name |
type |
description |
default |
| api_key |
string |
your api_key |
required |
| q |
string |
your search term
(min. 3 chars, urlencoded utf8-string !) |
required |
| limit |
int |
limit of search hits |
20 |
| format |
string |
output format xml/json |
xml |
Response
| name |
type |
description |
| success |
int |
successful request 1/0 |
| error |
array |
if error was not successfull, ths node contains error code
and error msg |
| request |
array |
information about the request, when successfull |
| content |
array |
list of found companies |
| |
result |
array |
search result set |
Request example
http://api.presseportal.de/api/search?api_key=yourapikey&q=news+aktuell
http://api.presseportal.ch/api/search?api_key=yourapikey&q=z%FCrich&limit=10
http://api.presseportal.de/api/search/company?api_key=yourapikey&format=xml&format=json&q=k%F6ln
Response example
<?xml version="1.0" encoding="UTF-8"?>
<response>
<success>1</success>
<request>
<uri>http://api.presseportal.de/api/search/company/?q=news+aktuell</uri>
<limit>20</limit>
<format>xml</format>
<search>company</search>
<term>news aktuell</term>
<hits>2</hits>
</request>
<content>
<result>
<id>39417</id>
<url>http://www.presseportal.de/pm/39417/news_aktuell_schweiz_ag/api</url>
<name>news aktuell (Schweiz) AG</name>
<type>company</type>
</result>
<result>
<id>6344</id>
<url>http://www.presseportal.de/pm/6344/news_aktuell_gmbh/api</url>
<name>news aktuell GmbH</name>
<type>company</type>
</result>
</content>
</response>